error-completion on the first 2 args of condition-case.
Fixes: debbugs:14446
+2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
+ error-completion on the first 2 args of condition-case (bug#14446).
+
2013-05-25 Leo Liu <sdl.web@gmail.com>
* comint.el (comint-previous-matching-input): Do not flood the
(append
macro-declarations-alist
defun-declarations-alist)))))
- ((or `condition-case `condition-case-unless-debug)
+ ((and (or `condition-case `condition-case-unless-debug)
+ (guard (save-excursion
+ (ignore-errors
+ (forward-sexp 2)
+ (< (point) beg)))))
(list t obarray
:predicate (lambda (sym) (get sym 'error-conditions))))
(_ (list nil obarray #'fboundp))))))))