]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Don't burp at EOB.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 25 May 2013 03:08:04 +0000 (23:08 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 25 May 2013 03:08:04 +0000 (23:08 -0400)
Fixes: debbugs:14446
lisp/ChangeLog
lisp/emacs-lisp/lisp.el

index 57625ef4dbe22dd7490308e847878e65a4c3be7a..efa6f06cbb133d99349111eb9b18a9fdcef45471 100644 (file)
@@ -2,6 +2,7 @@
 
        * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
        error-completion on the first 2 args of condition-case (bug#14446).
+       Don't burp at EOB.
 
 2013-05-25  Leo Liu  <sdl.web@gmail.com>
 
index ce8f45e9730636cbbd0ee6c4983ae04891a8de63..b221d2f823df1bf50dcf9d49746c0799c6bf7b03 100644 (file)
@@ -726,7 +726,7 @@ considered."
         (let ((tail (if (null (car table-etc))
                         (cdr table-etc)
                       (cons
-                       (if (memq (char-syntax (char-after end))
+                       (if (memq (char-syntax (or (char-after end) ?\s))
                                  '(?\s ?>))
                            (cadr table-etc)
                          (apply-partially 'completion-table-with-terminator