aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2002-02-25 10:50:29 +0000
committerKim F. Storm2002-02-25 10:50:29 +0000
commitcdf074531a6b13f94d4eb2f85cbcc5074cd85c41 (patch)
tree135fc69fd37e8ed646d1d17e44c77b1cacb15241
parent565f89ec063da8226d29f5aa6300e72e732b89eb (diff)
downloademacs-cdf074531a6b13f94d4eb2f85cbcc5074cd85c41.tar.gz
emacs-cdf074531a6b13f94d4eb2f85cbcc5074cd85c41.zip
(shell-mode-map): Add "Complete" header so completion
menu is shown on the menu bar in shell mode.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/shell.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 99e73df3e17..ca0fe54b300 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-02-25 Kim F. Storm <storm@cua.dk>
2
3 * shell.el (shell-mode-map): Add "Complete" header so completion
4 menu is shown on the menu bar in shell mode.
5
12002-02-25 Stefan Monnier <monnier@cs.yale.edu> 62002-02-25 Stefan Monnier <monnier@cs.yale.edu>
2 7
3 * ielm.el (ielm-match-data): New var. 8 * ielm.el (ielm-match-data): New var.
diff --git a/lisp/shell.el b/lisp/shell.el
index f273540996b..a57106a82fd 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -315,7 +315,8 @@ Thus, this does not include the shell's current directory.")
315 (define-key shell-mode-map "\M-?" 315 (define-key shell-mode-map "\M-?"
316 'comint-dynamic-list-filename-completions) 316 'comint-dynamic-list-filename-completions)
317 (define-key shell-mode-map [menu-bar completion] 317 (define-key shell-mode-map [menu-bar completion]
318 (copy-keymap (lookup-key comint-mode-map [menu-bar completion]))) 318 (cons "Complete"
319 (copy-keymap (lookup-key comint-mode-map [menu-bar completion]))))
319 (define-key-after (lookup-key shell-mode-map [menu-bar completion]) 320 (define-key-after (lookup-key shell-mode-map [menu-bar completion])
320 [complete-env-variable] '("Complete Env. Variable Name" . 321 [complete-env-variable] '("Complete Env. Variable Name" .
321 shell-dynamic-complete-environment-variable) 322 shell-dynamic-complete-environment-variable)