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
bf7970c5
Commit
bf7970c5
authored
Mar 06, 2005
by
Jan Djärv
Browse files
* menu-bar.el (menu-bar-file-menu): Add the same :enable to
"Open Directory" as for "Open File".
parent
0251bafb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/menu-bar.el
lisp/menu-bar.el
+2
-0
No files found.
lisp/ChangeLog
View file @
bf7970c5
2005-03-06 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* menu-bar.el (menu-bar-file-menu): Add the same :enable to
"Open Directory" as for "Open File".
2005-03-06 Chong Yidong <cyd@stupidchicken.com>
* simple.el (activate-mark-hook, deactivate-mark-hook): Add defvars.
...
...
lisp/menu-bar.el
View file @
bf7970c5
...
...
@@ -184,6 +184,8 @@ A large number or nil slows down menu responsiveness."
:help
"Insert another file into current buffer"
))
(
define-key
menu-bar-file-menu
[dired]
'
(
menu-item
"Open Directory..."
dired
:enable
(
not
(
window-minibuffer-p
(
frame-selected-window
menu-updating-frame
)))
:help
"Read a directory, operate on its files"
))
(
define-key
menu-bar-file-menu
[open-file]
'
(
menu-item
"Open File..."
find-file-existing
...
...
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