diff options
| author | Stefan Monnier | 2014-05-01 12:14:03 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-05-01 12:14:03 -0400 |
| commit | 17a873c585321b47bcbf46612902245c49c422de (patch) | |
| tree | 773797a5d6280292ed36c9fd3b922521623c5734 | |
| parent | 3e597f343e8607e704962b039fb3e5edf76c6864 (diff) | |
| download | emacs-17a873c585321b47bcbf46612902245c49c422de.tar.gz emacs-17a873c585321b47bcbf46612902245c49c422de.zip | |
* lisp/emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
the last consecutive closing paren.
Fixes: debbugs:17345
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8a3d790509c..fdaf4f1d9e2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past | ||
| 4 | the last consecutive closing paren (bug#17345). | ||
| 5 | |||
| 1 | 2014-04-30 Reuben Thomas <rrt@sc3d.org> | 6 | 2014-04-30 Reuben Thomas <rrt@sc3d.org> |
| 2 | 7 | ||
| 3 | * dired.el (dired-mode): make terminology for eXpunge command | 8 | * dired.el (dired-mode): make terminology for eXpunge command |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 7e00d0b2cf9..690aa3d7460 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -163,8 +163,9 @@ It has `lisp-mode-abbrev-table' as its parent." | |||
| 163 | (let ((ppss (parse-partial-sexp (line-beginning-position) | 163 | (let ((ppss (parse-partial-sexp (line-beginning-position) |
| 164 | (line-end-position) | 164 | (line-end-position) |
| 165 | -1))) | 165 | -1))) |
| 166 | (skip-syntax-forward " )") | ||
| 166 | (if (or (>= (car ppss) 0) | 167 | (if (or (>= (car ppss) 0) |
| 167 | (looking-at "[]) \t]*\\(;\\|$\\)")) | 168 | (looking-at ";\\|$")) |
| 168 | (progn | 169 | (progn |
| 169 | (forward-line 1) | 170 | (forward-line 1) |
| 170 | (< (point) limit)) | 171 | (< (point) limit)) |