summaryrefslogtreecommitdiff
path: root/lisp/tmm.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-05-21 04:50:59 +0000
committerRichard M. Stallman <rms@gnu.org>2005-05-21 04:50:59 +0000
commitb74f66061032469b85fc30eb4b141e64f9709ec6 (patch)
tree4bce94c98f1fbbf19603564af4987d0c67b30330 /lisp/tmm.el
parentc49edde42f2e69f76567ebe92dc2563542db0f32 (diff)
(tmm-shortcut): Avoid using beginning-of-buffer.
Diffstat (limited to 'lisp/tmm.el')
-rw-r--r--lisp/tmm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tmm.el b/lisp/tmm.el
index 3e0a8e95701..168dbdd14dc 100644
--- a/lisp/tmm.el
+++ b/lisp/tmm.el
@@ -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))