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

* lisp/emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch

border case in change-log-mode.
parent 13ef65a4
2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
border case in change-log-mode.
2010-09-04 Chong Yidong <cyd@stupidchicken.com>
 
* progmodes/compile.el (compilation-error-regexp-alist-alist):
......
......@@ -209,7 +209,8 @@ Point is at POS when this function returns."
(funcall syntax-begin-function)
;; Make sure it's better.
(> (point) pt-best))
;; Simple sanity check.
;; Simple sanity checks.
(< (point) pos) ; backward-paragraph can fail here.
(not (memq (get-text-property (point) 'face)
'(font-lock-string-face font-lock-doc-face
font-lock-comment-face))))
......
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