mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-20 18:17:20 +00:00
* lisp/progmodes/compile.el (compilation-next-error): Check there's
a message before using it. Fixes: debbugs:7941
This commit is contained in:
parent
99c2a4e37a
commit
7d11664781
@ -1,3 +1,8 @@
|
||||
2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* progmodes/compile.el (compilation-next-error): Check there's
|
||||
a message before using it (bug#7941).
|
||||
|
||||
2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
|
||||
|
||||
* calc/calc-mtx.el (math-lud-pivot-check): New function.
|
||||
@ -6,8 +11,8 @@
|
||||
|
||||
2011-01-31 Alan Mackenzie <acm@muc.de>
|
||||
|
||||
* progmodes/cc-cmds.el (c-forward-over-illiterals): Continue
|
||||
parsing if we encounter a naked # (Bug#7595).
|
||||
* progmodes/cc-cmds.el (c-forward-over-illiterals):
|
||||
Continue parsing if we encounter a naked # (Bug#7595).
|
||||
(c-beginning-of-statement): Avoid loop in locating the beginning
|
||||
of a macro.
|
||||
|
||||
@ -34,8 +39,8 @@
|
||||
|
||||
2011-01-31 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* international/quail.el (quail-keyboard-layout-alist): Remove
|
||||
superfluous SPC for "pc105-uk" (bug#7927).
|
||||
* international/quail.el (quail-keyboard-layout-alist):
|
||||
Remove superfluous SPC for "pc105-uk" (bug#7927).
|
||||
|
||||
2011-01-31 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
|
@ -2140,7 +2140,7 @@ looking for the next message."
|
||||
(or pt (setq pt (point)))
|
||||
(let* ((msg (get-text-property pt 'compilation-message))
|
||||
;; `loc', `msg', and `last' are used by the compilation-loop macro.
|
||||
(loc (compilation--message->loc msg))
|
||||
(loc (and msg (compilation--message->loc msg)))
|
||||
last)
|
||||
(if (zerop n)
|
||||
(unless (or msg ; find message near here
|
||||
@ -2154,8 +2154,7 @@ looking for the next message."
|
||||
(line-end-position)))
|
||||
(or (setq msg (get-text-property pt 'compilation-message))
|
||||
(setq pt (point)))))
|
||||
(setq last (compilation--loc->file-struct
|
||||
(compilation--message->loc msg)))
|
||||
(setq last (compilation--loc->file-struct loc))
|
||||
(if (>= n 0)
|
||||
(compilation-loop > compilation-next-single-property-change 1-
|
||||
(if (get-buffer-process (current-buffer))
|
||||
|
Loading…
Reference in New Issue
Block a user