Commit 2b0787b3 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/progmodes/gud.el (gdb-script-syntax-propertize-function):

Don't change the syntax of a \n that closes a comment.

Fixes: debbugs:8169
parent 5c69cb2c
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment