* 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:
parent
3e597f343e
commit
17a873c585
2 changed files with 7 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue