Fix #'(lambda ...) font locking
* lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): Fontize #'(lambda ...) better (bug#23465).
This commit is contained in:
parent
a7291a9fb9
commit
dd6fa00fa3
1 changed files with 3 additions and 1 deletions
|
@ -200,7 +200,9 @@
|
|||
(save-excursion
|
||||
(ignore-errors
|
||||
(goto-char pos)
|
||||
(or (eql (char-before) ?\')
|
||||
;; '(lambda ..) is not a funcall position, but #'(lambda ...) is.
|
||||
(or (and (eql (char-before) ?\')
|
||||
(not (eql (char-before (1- (point))) ?#)))
|
||||
(let* ((ppss (syntax-ppss))
|
||||
(paren-posns (nth 9 ppss))
|
||||
(parent
|
||||
|
|
Loading…
Add table
Reference in a new issue