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

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

Re: Problem with elisp highilghting/parsing code.


From: Matt Hodges
Subject: Re: Problem with elisp highilghting/parsing code.
Date: Wed, 18 Aug 2004 22:12:40 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

>>>>> Velizar Bodurski writes:

 > The example code is:
 > (defun just-a-test ()
 >   "this is a test
 > (code)"
 >   (interactive)
 >   (progn
 >     (message "hello")))

 > in the above code highlighting and auto-indent does not work,

See (info "(elisp)Documentation Tips."), in particular:

   * If a line in a documentation string begins with an
     open-parenthesis, write a backslash before the open-parenthesis,
     like this:

          The argument FOO can be either a number
          \(a buffer position) or a string (a file name).

     This prevents the open-parenthesis from being treated as the start
     of a defun (*note Defuns: (emacs)Defuns.).

Matt




reply via email to

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