diff lisp/complete.el @ 67622:bd00b5fc4e4d

(PC-do-completion): Remove `(equal (point) beg)' to place point at the first different character in the minibuffer even if this position is at the beginning of the minibuffer.
author Juri Linkov <juri@jurta.org>
date Fri, 16 Dec 2005 19:08:42 +0000
parents b5e49d33eeef
children 3bd95f4f2941 7beb78bc1f8e
line wrap: on
line diff
--- a/lisp/complete.el	Fri Dec 16 19:08:21 2005 +0000
+++ b/lisp/complete.el	Fri Dec 16 19:08:42 2005 +0000
@@ -209,7 +209,7 @@
 see), so that if it is neither nil nor t, Emacs shows the `*Completions*'
 buffer only on the second attempt to complete.  That is, if TAB finds nothing
 to complete, the first TAB just says \"Next char not unique\" and the
-second TAB brings up the `*Completionsf'* buffer."
+second TAB brings up the `*Completions*' buffer."
   :global t :group 'partial-completion
   ;; Deal with key bindings...
   (PC-bindings partial-completion-mode)
@@ -612,8 +612,7 @@
 				    (insert (substring prefix i (1+ i)))
 				    (setq end (1+ end)))
 				  (setq i (1+ i)))
-				(or pt (equal (point) beg)
-				    (setq pt (point)))
+				(or pt (setq pt (point)))
 				(looking-at PC-delim-regex))
 			      (setq skip (concat skip
 						 (regexp-quote prefix)