Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fbe91bbd
Commit
fbe91bbd
authored
Jan 17, 2000
by
Gerd Moellmann
Browse files
(tmm-goto-completions): Adapt to prompt being part
of mini-buffer.
parent
32660797
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/tmm.el
lisp/tmm.el
+3
-2
No files found.
lisp/ChangeLog
View file @
fbe91bbd
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
...
...
lisp/tmm.el
View file @
fbe91bbd
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment