; * lisp/emacs-lisp/lisp-mode.el: Restore one check in flet handling
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p): Do check backward-up-list executing without errors (bug#9622).
This commit is contained in:
parent
032969e8c6
commit
3fd0e7fba6
1 changed files with 6 additions and 6 deletions
|
@ -1149,12 +1149,12 @@ STATE is the `parse-partial-sexp' state for current position."
|
|||
t)
|
||||
(point))))))
|
||||
(save-excursion
|
||||
(ignore-errors
|
||||
;; We rely on `backward-up-list' working
|
||||
;; even when sexp is incomplete “to the right”.
|
||||
(backward-up-list 2)
|
||||
t)
|
||||
(= local-definitions-starting-point (point)))))))))
|
||||
(when (ignore-errors
|
||||
;; We rely on `backward-up-list' working
|
||||
;; even when sexp is incomplete “to the right”.
|
||||
(backward-up-list 2)
|
||||
t)
|
||||
(= local-definitions-starting-point (point))))))))))
|
||||
|
||||
(defun lisp-indent-function (indent-point state)
|
||||
"This function is the normal value of the variable `lisp-indent-function'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue