changeset 94242:3530bf3c1687

(minibuffer-complete-and-exit): Fix last change.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 22 Apr 2008 10:18:16 +0000
parents db4c1b0641f4
children 059120338e2c
files lisp/minibuffer.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/minibuffer.el	Tue Apr 22 09:34:02 2008 +0000
+++ b/lisp/minibuffer.el	Tue Apr 22 10:18:16 2008 +0000
@@ -403,7 +403,7 @@
                        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