diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-05-21 04:50:59 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-05-21 04:50:59 +0000 |
commit | b74f66061032469b85fc30eb4b141e64f9709ec6 (patch) | |
tree | 4bce94c98f1fbbf19603564af4987d0c67b30330 /lisp/tmm.el | |
parent | c49edde42f2e69f76567ebe92dc2563542db0f32 (diff) |
(tmm-shortcut): Avoid using beginning-of-buffer.
Diffstat (limited to 'lisp/tmm.el')
-rw-r--r-- | lisp/tmm.el | 2 |
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)) |