bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Indent fails in emacs-lisp-mode with two-line docstring and (..) in


From: Miles Bader
Subject: Re: Indent fails in emacs-lisp-mode with two-line docstring and (..) in second line of doc
Date: 28 Nov 2001 13:27:12 +0900

mlang@home.delysid.org (Mario Lang) writes:
> As the subject says, indentation (using TAB) does not work
> with a function like this in emacs-lisp-mode:
> 
> (defun test()
>   "doc
> (example)"
>   (and indent fails
>        really))

Put a backslash before any parentheses within comments/strings that are
the beginning of a line, e.g.:

(defun test()
  "doc
\(example)"
  (and indent fails
       really))

-Miles
-- 
I'd rather be consing.



reply via email to

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