changeset 62572:f7490b212956

(tmm-shortcut): Avoid using beginning-of-buffer.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 May 2005 04:50:59 +0000
parents e2ddd55fafc1
children b79d54436669
files lisp/tmm.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tmm.el	Sat May 21 03:01:33 2005 +0000
+++ b/lisp/tmm.el	Sat May 21 04:50:59 2005 +0000
@@ -362,7 +362,7 @@
     (if (memq c tmm-short-cuts)
 	(if (equal (buffer-name) "*Completions*")
 	    (progn
-	      (beginning-of-buffer)
+	      (goto-char (point-min))
 	      (re-search-forward
 	       (concat "\\(^\\|[ \t]\\)" (char-to-string c) tmm-mid-prompt))
 	      (choose-completion))