From: Juanma Barranquero Date: Tue, 22 Apr 2008 10:20:05 +0000 (+0000) Subject: (minibuffer-complete-and-exit): Fix last change. X-Git-Tag: emacs-pretest-23.0.90~6134 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0a5a021e3d4552808f3feb5b4273aa113d39df2;p=emacs.git (minibuffer-complete-and-exit): Fix last change. --- 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 + + * minibuffer.el (minibuffer-complete-and-exit): Fix last change. + 2008-04-22 Andreas Schwab - * 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 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