[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect indentation after :name

From: Juanma Barranquero
Subject: Re: Incorrect indentation after :name
Date: Sun, 3 Jul 2005 19:16:16 +0200

On 7/3/05, Lennart Borgman <address@hidden> wrote:

> It would be ok with me, but that is not what I see ;-)
> :foreground is right under "red". Tested with emacs -Q.

Sorry, you're right. I forgot that I have this on my .emacs. The
`lisp-indent-function' bit is the one that "fixes" the problem. Of
course, one of the first things I do in .emacs is loading CL.

(add-hook 'emacs-lisp-mode-hook
          #'(lambda ()
              (unless (assoc-string "cl-indent" load-history) (load
"cl-indent" nil t))
              (set (make-local-variable 'lisp-indent-function)
              (setq lisp-indent-maximum-backtracking 10)
              (put 'define-derived-mode 'common-lisp-indent-function
'(4 4 4 2 &body))
              (put 'if 'common-lisp-indent-function '(nil nil &body))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]