mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-06 11:55:48 +00:00
* lisp/progmodes/gud.el (gdb-script-syntax-propertize-function):
Don't change the syntax of a \n that closes a comment. Fixes: debbugs:8169
This commit is contained in:
parent
5c69cb2ce3
commit
2b0787b344
@ -1,3 +1,8 @@
|
||||
2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* progmodes/gud.el (gdb-script-syntax-propertize-function):
|
||||
Don't change the syntax of a \n that closes a comment (bug#8169).
|
||||
|
||||
2011-03-06 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* emacs-lisp/package-x.el (package-archive-upload-base): Make it a
|
||||
@ -25,8 +30,8 @@
|
||||
|
||||
2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
|
||||
|
||||
* calc/calc-ext.el (calc-init-extensions): Rename
|
||||
calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
|
||||
* calc/calc-ext.el (calc-init-extensions):
|
||||
Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
|
||||
and calc-nplevel, respectively. Add keybindings for calc-spn,
|
||||
calc-midi and calc-freq. Add autoloads for calcFunc-spn,
|
||||
calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
|
||||
|
@ -3127,7 +3127,9 @@ class of the file (using s to separate nested class ids)."
|
||||
("^document\\s-.*\\(\n\\)" (1 "< b"))
|
||||
("^end\\(\\>\\)"
|
||||
(1 (ignore
|
||||
(unless (eq (match-beginning 0) (point-min))
|
||||
(when (and (> (match-beginning 0) (point-min))
|
||||
(eq 1 (nth 7 (save-excursion
|
||||
(syntax-ppss (1- (match-beginning 0)))))))
|
||||
;; We change the \n in front, which is more difficult, but results
|
||||
;; in better highlighting. If the doc is empty, the single \n is
|
||||
;; both the beginning and the end of the docstring, which can't be
|
||||
|
Loading…
Reference in New Issue
Block a user