]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/minibuffer.el (minibuffer-force-complete): Use one more marker
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 24 Oct 2012 19:40:23 +0000 (15:40 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 24 Oct 2012 19:40:23 +0000 (15:40 -0400)
for the temporary-overlay-map command.

Fixes: debbugs:12619
lisp/ChangeLog
lisp/minibuffer.el

index a911832a8fb93165db9f30253b10281010c2c011..07ce9cea1a3fee0e4478caa3fb9ba0ce1d6aef85 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (minibuffer-force-complete): Use one more marker
+       for the temporary-overlay-map command (bug#12619).
+
 2012-10-24  Chong Yidong  <cyd@gnu.org>
 
        * time.el (display-time-world-mode): Derive from special-mode.
index 27050042b83efe4f89345ff981b825789ee67d39..4267fe4db4f8bef280abcf1dc5f5ad61cced42ff 100644 (file)
@@ -1114,7 +1114,7 @@ Repeated uses step through the possible completions."
   ;; FIXME: Need to deal with the extra-size issue here as well.
   ;; FIXME: ~/src/emacs/t<M-TAB>/lisp/minibuffer.el completes to
   ;; ~/src/emacs/trunk/ and throws away lisp/minibuffer.el.
-  (let* ((start (field-beginning))
+  (let* ((start (copy-marker (field-beginning)))
          (end (field-end))
          ;; (md (completion--field-metadata start))
          (all (completion-all-sorted-completions))