Changeset 4091 for trunk/lisp/info.el
- Timestamp:
- 05/27/06 10:35:24 (2 years ago)
- Files:
-
- trunk/lisp/info.el (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/info.el
r4058 r4091 2867 2867 (nth 2 (car Info-index-alternatives)) 2868 2868 (if (cdr Info-index-alternatives) 2869 (format "(%s total; use `,' for next)" 2870 (length Info-index-alternatives)) 2869 (format "(%s total; use `%s' for next)" 2870 (length Info-index-alternatives) 2871 (key-description (where-is-internal 2872 'Info-index-next overriding-local-map 2873 t))) 2871 2874 "(Only match)"))) 2872 2875 … … 2908 2911 (let ((Info-fontify-maximum-menu-size nil)) 2909 2912 (Info-directory) 2913 ;; current-node and current-file are nil when they invoke info-apropos 2914 ;; as the first Info command, i.e. info-apropos loads info.el. In that 2915 ;; case, we use (DIR)Top instead, to avoid signalling an error after 2916 ;; the search is complete. 2917 (when (null current-node) 2918 (setq current-file Info-current-file) 2919 (setq current-node Info-current-node)) 2910 2920 (message "Searching indices...") 2911 2921 (goto-char (point-min)) 2912 2922 (re-search-forward "\\* Menu: *\n" nil t) 2913 2923 (while (re-search-forward "\\*.*: *(\\([^)]+\\))" nil t) 2914 (setq manuals (cons (match-string 1) manuals))) 2924 ;; add-to-list makes sure we don't have duplicates in `manuals', 2925 ;; so that the following dolist loop runs faster. 2926 (add-to-list 'manuals (match-string 1))) 2915 2927 (dolist (manual (nreverse manuals)) 2916 2928 (message "Searching %s" manual)
