aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-21 13:36:59 -0700
committerLars Ingebrigtsen2019-08-21 13:36:59 -0700
commit08dd4b9f0c0f2ccfcd17ae719b4a354919ddfeb5 (patch)
tree76edc7a03b4411064bbaadc59e4ad0bc03eef83e /doc/misc
parentb60bdfcd4cc4fdfa38894e8619ce4fec206b8303 (diff)
downloademacs-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.texi3
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}
935for @dfn{Quit}. This runs @code{Info-exit} in Emacs. 934for @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
938how to move in an Info document, and how to follow menus and cross 937how to move in an Info document, and how to follow menus and cross