aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/info.el
diff options
context:
space:
mode:
authorJesper Harder2004-04-27 14:43:04 +0000
committerJesper Harder2004-04-27 14:43:04 +0000
commit5242942fe797bccdd81a4a235e370136c7b61ba2 (patch)
tree07e3ac72dc437f4c2d5b2c9c6cd637494014bd64 /lisp/info.el
parent9339736070a127a374c950568664b349a3d143a4 (diff)
downloademacs-5242942fe797bccdd81a4a235e370136c7b61ba2.tar.gz
emacs-5242942fe797bccdd81a4a235e370136c7b61ba2.zip
(info-apropos): Make it an index node. Align node names
like makeinfo.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el16
1 files changed, 10 insertions, 6 deletions
diff --git a/lisp/info.el b/lisp/info.el
index a57078d5e2d..085be1ae897 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -2493,14 +2493,18 @@ Build a menu of the possible matches."
2493 (message "No matches found") 2493 (message "No matches found")
2494 (with-current-buffer (get-buffer-create " *info-apropos*") 2494 (with-current-buffer (get-buffer-create " *info-apropos*")
2495 (erase-buffer) 2495 (erase-buffer)
2496 (insert "\n\nFile: apropos, Node: Top, Up: (dir)\n") 2496 (insert "\n\nFile: apropos, Node: Index, Up: (dir)\n")
2497 (insert "* Menu: \nNodes whose indices contain \"" string "\"\n\n") 2497 (insert "* Menu: \nNodes whose indices contain \"" string "\"\n\n")
2498 (dolist (entry matches) 2498 (dolist (entry matches)
2499 (insert "* " (nth 1 entry) " [" (nth 0 entry) 2499 (insert
2500 "]: (" (nth 0 entry) ")" (nth 2 entry) "." 2500 (format "* %-38s (%s)%s.%s\n"
2501 (if (nth 3 entry) (concat " (line " (nth 3 entry) ")") "") 2501 (concat (nth 1 entry) " [" (nth 0 entry) "]:")
2502 "\n"))) 2502 (nth 0 entry)
2503 (Info-find-node "apropos" "top") 2503 (nth 2 entry)
2504 (if (nth 3 entry)
2505 (concat " (line " (nth 3 entry) ")")
2506 "")))))
2507 (Info-find-node "apropos" "Index")
2504 (setq Info-complete-cache nil))))) 2508 (setq Info-complete-cache nil)))))
2505 2509
2506(defun Info-undefined () 2510(defun Info-undefined ()