diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-18 12:46:14 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-18 12:46:14 +0000 |
commit | d28cfdc285826f77896fb9c32b78d6fb506e0808 (patch) | |
tree | af11e85221f86ceab78c0bb77ba9adacff1d6332 /lisp/minibuffer.el | |
parent | 7f48947e795c92819e346788402846183b0d5129 (diff) | |
download | emacs-d28cfdc285826f77896fb9c32b78d6fb506e0808.tar.gz |
(completion-table-with-terminator): Fix last fix.
Diffstat (limited to 'lisp/minibuffer.el')
-rw-r--r-- | lisp/minibuffer.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 2adb4c3e7f9..834aa589f2d 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -25,10 +25,8 @@ ;; are meant to be for internal use only. ;; TODO: -;; - make the `hide-spaces' arg of all-completions obsolete. - -;; BUGS: -;; - envvar completion for file names breaks completion-base-size. +;; - New command minibuffer-force-complete that chooses one of all-completions. +;; - make the `hide-spaces' arg of all-completions obsolete? ;;; Code: @@ -138,8 +136,7 @@ You should give VAR a non-nil `risky-local-variable' property." (if (and (stringp comp) (eq (complete-with-action action table comp pred) t)) (concat comp terminator) - comp) - comp)) + comp))) ;; completion-table-with-terminator is always used for ;; "sub-completions" so it's only called if the terminator is missing, ;; in which case `test-completion' should return nil. |