diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-04-22 10:20:05 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-04-22 10:20:05 +0000 |
commit | b0a5a021e3d4552808f3feb5b4273aa113d39df2 (patch) | |
tree | ca921650fbb73aee20e02204424cd9767d2fa32c | |
parent | 125891f4388a7023bafa664a7fc5c0d0b708db87 (diff) | |
download | emacs-b0a5a021e3d4552808f3feb5b4273aa113d39df2.tar.gz |
(minibuffer-complete-and-exit): Fix last change.
-rw-r--r-- | lisp/ChangeLog | 8 | ||||
-rw-r--r-- | lisp/minibuffer.el | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b5050cd67a7..2d3cd250286 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,11 @@ +2008-04-22 Juanma Barranquero <lekktu@gmail.com> + + * minibuffer.el (minibuffer-complete-and-exit): Fix last change. + 2008-04-22 Andreas Schwab <schwab@suse.de> - * Makefile.in (emacs-deps): Define. Use it instead of - $(lisp)/subdirs.el. + * Makefile.in (emacs-deps): Define. + Use it instead of $(lisp)/subdirs.el. 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu> diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index e170e3c8a14..a6f408c6658 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -403,7 +403,7 @@ a repetition of this command will exit." minibuffer-completion-predicate) (when completion-ignore-case ;; Fixup case of the field, if necessary. - (let* ((string (substring beg end)) + (let* ((string (buffer-substring beg end)) (compl (try-completion string minibuffer-completion-table |