[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inferior-lisp mode indenting problem
From: |
John Paul Wallington |
Subject: |
Re: inferior-lisp mode indenting problem |
Date: |
Fri, 15 Aug 2003 01:33:22 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
John Paul Wallington <jpw@gnu.org> burbled:
> To get proper indentation of Common Lisp code without clobbering
> conventional Emacs Lisp indentation you could do something like so:
>
> (add-hook 'lisp-mode-hook
> (lambda ()
> (set (make-local-variable lisp-indent-function)
^
Oh boy! should be quoted, like so:
(add-hook 'lisp-mode-hook
(lambda ()
(set (make-local-variable 'lisp-indent-function)
'common-lisp-indent-function)))
I hadn't noticed before because the default value of
`lisp-indent-function' is `lisp-indent-function' !