+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
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.
("^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