Commit fbe91bbd authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(tmm-goto-completions): Adapt to prompt being part

of mini-buffer.
parent 32660797
2000-01-17 Gerd Moellmann <gerd@gnu.org>
* tmm.el (tmm-goto-completions): Adapt to prompt being part
of mini-buffer.
2000-01-14 Gerd Moellmann <gerd@gnu.org>
* emacs-lisp/copyright.el (copyright-update): Removed the
......
......@@ -387,8 +387,9 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'."
(defun tmm-goto-completions ()
(interactive)
(setq tmm-c-prompt (buffer-string))
(erase-buffer)
(let ((prompt-end (minibuffer-prompt-end)))
(setq tmm-c-prompt (buffer-substring prompt-end (point-max)))
(delete-region prompt-end (point-max)))
(switch-to-buffer-other-window "*Completions*")
(search-forward tmm-c-prompt)
(search-backward tmm-c-prompt))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment