diff options
author | Phillip Lord <phillip.lord@russet.org.uk> | 2016-03-13 18:33:10 +0000 |
---|---|---|
committer | Phillip Lord <phillip.lord@russet.org.uk> | 2016-03-13 18:33:10 +0000 |
commit | ba24c99ec665501fb05cabd77c4115fa1fa9c305 (patch) | |
tree | 78762744f95ab0267eb515c075287e8bdade05da /lisp | |
parent | d457fd9dc782465e1547f74021390c9d5951d6af (diff) | |
download | emacs-ba24c99ec665501fb05cabd77c4115fa1fa9c305.tar.gz |
Revert "Simplify "Visit New File" to "New File""
This reverts commit d457fd9dc782465e1547f74021390c9d5951d6af.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/menu-bar.el | 2 | ||||
-rw-r--r-- | lisp/startup.el | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 0557214fe24..6281d7e5453 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -192,7 +192,7 @@ :enable (menu-bar-non-minibuffer-window-p) :help "Read an existing file into an Emacs buffer")) (bindings--define-key menu [new-file] - '(menu-item "New File..." find-file + '(menu-item "Visit New File..." find-file :enable (menu-bar-non-minibuffer-window-p) :help "Specify a new file's name, to edit the file")) diff --git a/lisp/startup.el b/lisp/startup.el index a411891d1f6..15a79f6f5bf 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1998,7 +1998,7 @@ To quit a partially entered command, type Control-g.\n") (insert " How to order printed manuals from the FSF\n") (insert "\nUseful tasks:\n") - (insert-button "New File" + (insert-button "Visit New File" 'action (lambda (_button) (call-interactively 'find-file)) 'follow-link t) (insert (substitute-command-keys @@ -2075,7 +2075,7 @@ If you have no Meta key, you may instead type ESC followed by the character.)")) ;; Insert links to useful tasks (insert "\nUseful tasks:\n") - (insert-button "New File" + (insert-button "Visit New File" 'action (lambda (_button) (call-interactively 'find-file)) 'follow-link t) (insert "\t\t\t") |