emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/icomplete.el,v


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/icomplete.el,v
Date: Sat, 10 Mar 2007 19:22:39 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    07/03/10 19:22:39

Index: icomplete.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/icomplete.el,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- icomplete.el        21 Jan 2007 03:53:11 -0000      1.42
+++ icomplete.el        10 Mar 2007 19:22:39 -0000      1.43
@@ -219,7 +219,8 @@
   (when (and icomplete-mode icomplete-eoinput)
 
     (unless (>= icomplete-eoinput (point-max))
-      (let ((buffer-undo-list t)) ; prevent entry
+      (let ((buffer-undo-list t) ; prevent entry
+           deactivate-mark)
        (delete-region icomplete-eoinput (point-max))))
 
     ;; Reestablish the safe value.
@@ -256,7 +257,8 @@
                          minibuffer-completion-table
                          minibuffer-completion-predicate
                          (not minibuffer-completion-confirm)))))
-               (buffer-undo-list t))
+               (buffer-undo-list t)
+               deactivate-mark)
            ;; Do nothing if while-no-input was aborted.
            (if (consp text) (insert (car text))))))))
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]