Hello All,

I want to set the basic indentation to be two characters rather than 4.  Is
this possible using JDE?  The following used to sort of work, but the hook
did not appear to fire -- I had to explicitly call ajb-jde-mode-hook
whenever I visited a new buffer.

(defun ajb-jde-mode-hook ()
  (interactive)
  (message "ajb-jde-mode-hook function executed")
  (setq c-basic-offset 2)
)
(add-hook 'jde-mode-hook 'ajb-jde-mode-hook)

Then it mysteriously failed to work altogether!

Is there a better way?

Thanks,

Anthony

Reply via email to