[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Syntax highlighting and indentation fails when there are parenthesis in
From: |
Lennart Borgman |
Subject: |
Syntax highlighting and indentation fails when there are parenthesis in the doc string |
Date: |
Sun, 10 Oct 2004 14:14:14 +0200 |
This is for emacs 21.3. To show the bug take the code below and put it in a
buffer in emacs-lisp-mode. Then follow the instructions in the doc string.
I have tested this on ms windows.
- Lennart
(defcustom some-variable t
"Some doc with paretheses:
(this is the line that give the error)
This will mess indentation and syntax coloring in the properties part below.
Please delete and put back lines below to show the problem!
Do the same thing with the line above with parenthesis deleted."
:tag "Some Tag"
:group 'some-group
:type 'boolean
:set (lambda (symbol value)
(add-to-list 'some-hook 'the-hook-fun)
(set-default symbol value)
(unless (boundp 'some-key) (setq some-key "\C-c\C-z"))
)
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Syntax highlighting and indentation fails when there are parenthesis in the doc string,
Lennart Borgman <=