Commit 0e38ae05 authored by Nicolas Richard's avatar Nicolas Richard Committed by Juanma Barranquero
Browse files

lisp/minibuffer.el: Fix bug#16808.

(completion--try-word-completion): Fix error when completing M-x commands.
parent 7c56ecf5
2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
* minibuffer.el (completion--try-word-completion):
Fix error when completing M-x commands (bug#16808).
2014-02-24 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
......
......@@ -1371,7 +1371,7 @@ appear to be a match."
(concat before ext after)
table predicate (1+ point) md))
exts))))
(when (and (= 1 (length comps) (consp (car comps))))
(when (and (null (cdr comps)) (consp (car comps)))
(setq comp (car comps)))))
;; Completing a single word is actually more difficult than completing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment