aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-04-12 18:28:40 +0000
committerDave Love2000-04-12 18:28:40 +0000
commit48e5b4711daf28d97b2eacb21438cbe69f3886cf (patch)
treeaffabac01c8e0430c7ea0379b1a7d294eb10a954
parent506c6d61a62c11c346d5c0b9c87e9aca1a343207 (diff)
downloademacs-48e5b4711daf28d97b2eacb21438cbe69f3886cf.tar.gz
emacs-48e5b4711daf28d97b2eacb21438cbe69f3886cf.zip
Add debug-ignored-errors.
(Info-mode-menu): Add some items. (Info-directory): Add autoload cookie.
-rw-r--r--lisp/info.el38
1 files changed, 32 insertions, 6 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 851726bee80..98247a6e4ff 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1136,6 +1136,7 @@ If SAME-FILE is non-nil, do not move to a different Info file."
1136 (setq Info-history (cdr Info-history)) 1136 (setq Info-history (cdr Info-history))
1137 (goto-char opoint))) 1137 (goto-char opoint)))
1138 1138
1139;;;###autoload
1139(defun Info-directory () 1140(defun Info-directory ()
1140 "Go to the Info directory node." 1141 "Go to the Info directory node."
1141 (interactive) 1142 (interactive)
@@ -1893,14 +1894,33 @@ If no reference to follow, moves to the next node, or up if none."
1893(easy-menu-define Info-mode-menu Info-mode-map 1894(easy-menu-define Info-mode-menu Info-mode-map
1894 "Menu for info files." 1895 "Menu for info files."
1895 '("Info" 1896 '("Info"
1896 ["Up" Info-up (Info-check-pointer "up")] 1897 ["Up" Info-up (Info-check-pointer "up")
1897 ["Next" Info-next (Info-check-pointer "next")] 1898 :help "Go up in the Info tree"]
1898 ["Previous" Info-prev (Info-check-pointer "prev[ious]*")] 1899 ["Next" Info-next (Info-check-pointer "next")
1900 :help "Go to the next node"]
1901 ["Previous" Info-prev (Info-check-pointer "prev[ious]*")
1902 :help "Go to the previous node"]
1903 ["Backward" Info-backward-node t
1904 :help "Go backward one node, considering all as a sequence"]
1905 ["Forward" Info-forward-node t
1906 :help "Go forward one node, considering all as a sequence"]
1907 ["Top" Info-top-node t
1908 :help "Go to top node of file"]
1909 ["Final node" Info-final-node t
1910 :help "Go to final node in this file"]
1899 ("Menu item" ["You should never see this" report-emacs-bug t]) 1911 ("Menu item" ["You should never see this" report-emacs-bug t])
1900 ("Reference" ["You should never see this" report-emacs-bug t]) 1912 ("Reference" ["You should never see this" report-emacs-bug t])
1901 ["Search..." Info-search t] 1913 ["Search..." Info-search t
1902 ["Goto node..." Info-goto-node t] 1914 :help "Search for regular expression in this Info file"]
1903 ["Last" Info-last Info-history] 1915 ["Goto node..." Info-goto-node t
1916 :help "Go to a named node]"]
1917 ["Last" Info-last Info-history
1918 :help "Go to the last node you were at"]
1919 ("Index..."
1920 ["Lookup a String" Info-index t
1921 :help "Look for a string in the index items"]
1922 ["Next Matching Item" Info-index-next t
1923 :help "Look for another occurrence of previous item"])
1904 ["Exit" Info-exit t])) 1924 ["Exit" Info-exit t]))
1905 1925
1906(defvar Info-menu-last-node nil) 1926(defvar Info-menu-last-node nil)
@@ -2497,6 +2517,12 @@ BUFFER is the buffer speedbar is requesting buttons for."
2497 (Info-speedbar-hierarchy-buttons nil 0) 2517 (Info-speedbar-hierarchy-buttons nil 0)
2498 ) 2518 )
2499 2519
2520(dolist (mess '("^Node has no Previous$"
2521 "^No menu in this node$"
2522 "^Node has no Next$"
2523 "^No \".*\" in index$"))
2524 (add-to-list 'debug-ignored-errors mess))
2525
2500(provide 'info) 2526(provide 'info)
2501 2527
2502;;; info.el ends here 2528;;; info.el ends here