]> git.eshelyaron.com Git - emacs.git/commitdiff
(tmm-shortcut): Avoid using beginning-of-buffer.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 May 2005 04:50:59 +0000 (04:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 May 2005 04:50:59 +0000 (04:50 +0000)
lisp/tmm.el

index 3e0a8e95701d5de9c8ad5bc7a27cba88c7f39b1b..168dbdd14dce9c6792d0e8d50e6b760806949add 100644 (file)
@@ -362,7 +362,7 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'."
     (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))