emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect indentation after :name


From: Richard M. Stallman
Subject: Re: Incorrect indentation after :name
Date: Tue, 05 Jul 2005 00:35:09 -0400

    +      (if (or (not function)
    +         (and (> (point) (1+ (point-min)))
    +              (or (save-excursion (backward-char 2) (looking-at "'("))
    +                  (keywordp (intern-soft function)))
    +              (not (fboundp (intern-soft function)))))

The problem is, this will do the wrong thing when you edit
a call to a function defined in a file that isn't loaded.

It might be better to check for a quote in front of
the current list or a surrounding list.  That could work reliably.




reply via email to

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