emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/complete.el


From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lisp/complete.el
Date: Fri, 16 Dec 2005 19:08:42 +0000

Index: emacs/lisp/complete.el
diff -u emacs/lisp/complete.el:1.48 emacs/lisp/complete.el:1.49
--- emacs/lisp/complete.el:1.48 Fri Dec 16 02:06:11 2005
+++ emacs/lisp/complete.el      Fri Dec 16 19:08:42 2005
@@ -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)




reply via email to

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