summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-04-22 10:20:05 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-04-22 10:20:05 +0000
commitb0a5a021e3d4552808f3feb5b4273aa113d39df2 (patch)
treeca921650fbb73aee20e02204424cd9767d2fa32c
parent125891f4388a7023bafa664a7fc5c0d0b708db87 (diff)
downloademacs-b0a5a021e3d4552808f3feb5b4273aa113d39df2.tar.gz
(minibuffer-complete-and-exit): Fix last change.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/minibuffer.el2
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