Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e65f2cc0
Commit
e65f2cc0
authored
Dec 31, 1999
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(electric-command-history): Call Command-history-setup
and command-history-mode using their new conventions.
parent
23e3e630
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lisp/echistory.el
lisp/echistory.el
+5
-4
No files found.
lisp/echistory.el
View file @
e65f2cc0
...
...
@@ -113,9 +113,10 @@ The Command History listing is recomputed each time this mode is invoked."
(
save-window-excursion
(
list-command-history
)
(
set-buffer
"*Command History*"
)
(
Command-history-setup
'electric-command-history
"Electric History"
electric-history-map
))
(
Command-history-setup
)
(
setq
major-mode
'electric-command-history
)
(
setq
mode-name
"Electric History"
)
(
use-local-map
electric-history-map
))
(
Electric-pop-up-window
"*Command History*"
)
(
run-hooks
'electric-command-history-hook
)
(
if
(
eobp
)
...
...
@@ -126,7 +127,7 @@ The Command History listing is recomputed each time this mode is invoked."
(
Electric-command-loop
'electric-history-quit
"->"
t
))))))
(
set-buffer
"*Command History*"
)
(
C
ommand-history-
setup
)
(
c
ommand-history-
mode
)
(
bury-buffer
(
current-buffer
)))
(
if
(
consp
todo
)
(
progn
(
set-buffer
old-buffer
)
...
...
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