aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/elisp-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/elisp-mode.el')
-rw-r--r--lisp/progmodes/elisp-mode.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 946d3ba10be..2773f5e76b0 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -1104,8 +1104,7 @@ functions are annotated with \"<f>\" via the
1104 ;; specific completion table in more cases. 1104 ;; specific completion table in more cases.
1105 (is-ignore-error 1105 (is-ignore-error
1106 (list t (elisp--completion-local-symbols) 1106 (list t (elisp--completion-local-symbols)
1107 :predicate (lambda (sym) 1107 :predicate #'error-type-p))
1108 (get sym 'error-conditions))))
1109 ((elisp--expect-function-p beg) 1108 ((elisp--expect-function-p beg)
1110 (list nil (elisp--completion-local-symbols) 1109 (list nil (elisp--completion-local-symbols)
1111 :predicate 1110 :predicate
@@ -1179,12 +1178,11 @@ functions are annotated with \"<f>\" via the
1179 (forward-sexp 2) 1178 (forward-sexp 2)
1180 (< (point) beg))))) 1179 (< (point) beg)))))
1181 (list t (elisp--completion-local-symbols) 1180 (list t (elisp--completion-local-symbols)
1182 :predicate (lambda (sym) (get sym 'error-conditions)))) 1181 :predicate #'error-type-p))
1183 ;; `ignore-error' with a list CONDITION parameter. 1182 ;; `ignore-error' with a list CONDITION parameter.
1184 ('ignore-error 1183 ('ignore-error
1185 (list t (elisp--completion-local-symbols) 1184 (list t (elisp--completion-local-symbols)
1186 :predicate (lambda (sym) 1185 :predicate #'error-type-p))
1187 (get sym 'error-conditions))))
1188 ((and (or ?\( 'let 'let* 'cond 'cond* 'bind*) 1186 ((and (or ?\( 'let 'let* 'cond 'cond* 'bind*)
1189 (guard (save-excursion 1187 (guard (save-excursion
1190 (goto-char (1- beg)) 1188 (goto-char (1- beg))