Hi Paul,

Could you please replase this "hard" setq in jde.el with add-to-list.

;;;###autoload
(setq auto-mode-alist
  (append
   '(("\\.java\\'" . jde-mode))
        auto-mode-alist))

The reason is that i want to auto-load my latest JDEE-installation with

(add-to-list 'auto-mode-alist '("\\.java\\'" . jde-mode))
(autoload 'jde-mode "jde")

In my .emacs-file.

With this JDEE is first loaded after opening a java-file. BUT:
Loading JDEE then adds jde-mode again to the auto-mode-alist,
cause of this setq instead of add-to-list which would check if
it is already contained in auto-mode-alist!

Not really a problem but ugly...

Ciao,
Klaus

Reply via email to