diff options
| author | Lars Ingebrigtsen | 2019-08-21 13:36:59 -0700 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-21 13:36:59 -0700 |
| commit | 08dd4b9f0c0f2ccfcd17ae719b4a354919ddfeb5 (patch) | |
| tree | 76edc7a03b4411064bbaadc59e4ad0bc03eef83e /doc/misc | |
| parent | b60bdfcd4cc4fdfa38894e8619ce4fec206b8303 (diff) | |
| download | emacs-08dd4b9f0c0f2ccfcd17ae719b4a354919ddfeb5.tar.gz emacs-08dd4b9f0c0f2ccfcd17ae719b4a354919ddfeb5.zip | |
Use `quit-window-hook' in Info instead of having its own command
* doc/misc/info.texi (Help-Q): Info now uses `quit-window'.
* lisp/info.el (info-standalone): Adjust doc string.
(Info-exit): Made into obsolete alias.
(Info-mode-map): Bind "q" to `quit-window'.
(Info-mode-menu): Adjust.
(info-tool-bar-map): Ditto.
(Info-mode): Adjust doc string.
(Info-mode): If Info is standalone, kill Emacs on "q".
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/info.texi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/misc/info.texi b/doc/misc/info.texi index e69779a03ca..cbdeaff50ce 100644 --- a/doc/misc/info.texi +++ b/doc/misc/info.texi | |||
| @@ -929,10 +929,9 @@ is @code{Info-top-node}. | |||
| 929 | @section Quitting Info | 929 | @section Quitting Info |
| 930 | 930 | ||
| 931 | @kindex q @r{(Info mode)} | 931 | @kindex q @r{(Info mode)} |
| 932 | @findex Info-exit | ||
| 933 | @cindex quitting Info mode | 932 | @cindex quitting Info mode |
| 934 | To get out of Info, back to what you were doing before, type @kbd{q} | 933 | To get out of Info, back to what you were doing before, type @kbd{q} |
| 935 | for @dfn{Quit}. This runs @code{Info-exit} in Emacs. | 934 | for @dfn{Quit}. This runs @code{quit-window} in Emacs. |
| 936 | 935 | ||
| 937 | This is the end of the basic course on using Info. You have learned | 936 | This is the end of the basic course on using Info. You have learned |
| 938 | how to move in an Info document, and how to follow menus and cross | 937 | how to move in an Info document, and how to follow menus and cross |