aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2020-05-02 22:41:20 +0200
committerStefan Kangas2020-05-02 22:41:20 +0200
commit11fd01c9941cc9fcf760750a7e287edae02779c9 (patch)
tree5f390023596bf13c5c7167205f22b84c3741e5a5
parenta941a9e8c226cff8eb77c4f8d7d0d54cb4a36340 (diff)
downloademacs-11fd01c9941cc9fcf760750a7e287edae02779c9.tar.gz
emacs-11fd01c9941cc9fcf760750a7e287edae02779c9.zip
Improve Info-mode doc and menu
* lisp/info.el (Info-mode-menu): Re-arrange to be more logical, move items into submenus, add 'Info-directory' and separators. (Info-mode): Add 'end-of-buffer' to doc string. (Bug#39042)
-rw-r--r--lisp/info.el26
1 files changed, 17 insertions, 9 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 3015e60a4f9..d579ecc5a3b 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4079,22 +4079,28 @@ If FORK is non-nil, it is passed to `Info-goto-node'."
4079 :help "Go to top node of file"] 4079 :help "Go to top node of file"]
4080 ["Final Node" Info-final-node 4080 ["Final Node" Info-final-node
4081 :help "Go to final node in this file"] 4081 :help "Go to final node in this file"]
4082 "---"
4082 ("Menu Item" ["You should never see this" report-emacs-bug t]) 4083 ("Menu Item" ["You should never see this" report-emacs-bug t])
4083 ("Reference" ["You should never see this" report-emacs-bug t]) 4084 ("Reference" ["You should never see this" report-emacs-bug t])
4084 ["Search..." Info-search 4085 ["Search..." Info-search
4085 :help "Search for regular expression in this Info file"] 4086 :help "Search for regular expression in this Info file"]
4086 ["Search Next" Info-search-next 4087 ["Search Next" Info-search-next
4087 :help "Search for another occurrence of regular expression"] 4088 :help "Search for another occurrence of regular expression"]
4088 ["Go to Node..." Info-goto-node 4089 "---"
4090 ("History"
4091 ["Back in history" Info-history-back :active Info-history
4092 :help "Go back in history to the last node you were at"]
4093 ["Forward in history" Info-history-forward :active Info-history-forward
4094 :help "Go forward in history"]
4095 ["Show History" Info-history :active Info-history-list
4096 :help "Go to menu of visited nodes"])
4097 ("Go to"
4098 ["Go to Node..." Info-goto-node
4089 :help "Go to a named node"] 4099 :help "Go to a named node"]
4090 ["Back in history" Info-history-back :active Info-history 4100 ["Table of Contents" Info-toc
4091 :help "Go back in history to the last node you were at"] 4101 :help "Go to table of contents"]
4092 ["Forward in history" Info-history-forward :active Info-history-forward 4102 ["Go to Directory" Info-directory
4093 :help "Go forward in history"] 4103 :help "Go to the Info directory node."])
4094 ["History" Info-history :active Info-history-list
4095 :help "Go to menu of visited nodes"]
4096 ["Table of Contents" Info-toc
4097 :help "Go to table of contents"]
4098 ("Index" 4104 ("Index"
4099 ["Lookup a String..." Info-index 4105 ["Lookup a String..." Info-index
4100 :help "Look for a string in the index items"] 4106 :help "Look for a string in the index items"]
@@ -4108,6 +4114,7 @@ If FORK is non-nil, it is passed to `Info-goto-node'."
4108 :help "Copy the name of the current node into the kill ring"] 4114 :help "Copy the name of the current node into the kill ring"]
4109 ["Clone Info buffer" clone-buffer 4115 ["Clone Info buffer" clone-buffer
4110 :help "Create a twin copy of the current Info buffer."] 4116 :help "Create a twin copy of the current Info buffer."]
4117 "---"
4111 ["Exit" quit-window :help "Stop reading Info"])) 4118 ["Exit" quit-window :help "Stop reading Info"]))
4112 4119
4113 4120
@@ -4358,6 +4365,7 @@ Moving within a node:
4358 already visible, try to go to the previous menu entry, or up 4365 already visible, try to go to the previous menu entry, or up
4359 if there is none. 4366 if there is none.
4360\\[beginning-of-buffer] Go to beginning of node. 4367\\[beginning-of-buffer] Go to beginning of node.
4368\\[end-of-buffer] Go to end of node.
4361 4369
4362Advanced commands: 4370Advanced commands:
4363\\[Info-search] Search through this Info file for specified regexp, 4371\\[Info-search] Search through this Info file for specified regexp,