diff options
| author | Richard M. Stallman | 2005-05-21 04:50:59 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-05-21 04:50:59 +0000 |
| commit | b74f66061032469b85fc30eb4b141e64f9709ec6 (patch) | |
| tree | 4bce94c98f1fbbf19603564af4987d0c67b30330 | |
| parent | c49edde42f2e69f76567ebe92dc2563542db0f32 (diff) | |
| download | emacs-b74f66061032469b85fc30eb4b141e64f9709ec6.tar.gz emacs-b74f66061032469b85fc30eb4b141e64f9709ec6.zip | |
(tmm-shortcut): Avoid using beginning-of-buffer.
| -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'." | |||
| 362 | (if (memq c tmm-short-cuts) | 362 | (if (memq c tmm-short-cuts) |
| 363 | (if (equal (buffer-name) "*Completions*") | 363 | (if (equal (buffer-name) "*Completions*") |
| 364 | (progn | 364 | (progn |
| 365 | (beginning-of-buffer) | 365 | (goto-char (point-min)) |
| 366 | (re-search-forward | 366 | (re-search-forward |
| 367 | (concat "\\(^\\|[ \t]\\)" (char-to-string c) tmm-mid-prompt)) | 367 | (concat "\\(^\\|[ \t]\\)" (char-to-string c) tmm-mid-prompt)) |
| 368 | (choose-completion)) | 368 | (choose-completion)) |