1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

Revert "Simplify "Visit New File" to "New File""

This reverts commit d457fd9dc7.
This commit is contained in:
Phillip Lord 2016-03-13 18:33:10 +00:00
parent d457fd9dc7
commit ba24c99ec6
3 changed files with 4 additions and 4 deletions

View File

@ -288,7 +288,7 @@ see @ref{Drag and Drop}, and @ref{Misc Dired Features}.
On text-mode terminals and on graphical displays when Emacs was
built without a GUI toolkit, you can visit files via the menu-bar
@samp{File} menu, which has a @samp{New File} item.
@samp{File} menu, which has a @samp{Visit New File} item.
Each time you visit a file, Emacs automatically scans its contents
to detect what character encoding and end-of-line convention it uses,

View File

@ -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"))

View File

@ -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")