* lisp/emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past

the last consecutive closing paren.

Fixes: debbugs:17345
This commit is contained in:
Stefan Monnier 2014-05-01 12:14:03 -04:00
parent 3e597f343e
commit 17a873c585
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
the last consecutive closing paren (bug#17345).
2014-04-30 Reuben Thomas <rrt@sc3d.org>
* dired.el (dired-mode): make terminology for eXpunge command

View file

@ -163,8 +163,9 @@ It has `lisp-mode-abbrev-table' as its parent."
(let ((ppss (parse-partial-sexp (line-beginning-position)
(line-end-position)
-1)))
(skip-syntax-forward " )")
(if (or (>= (car ppss) 0)
(looking-at "[]) \t]*\\(;\\|$\\)"))
(looking-at ";\\|$"))
(progn
(forward-line 1)
(< (point) limit))