Show
Ignore:
Timestamp:
05/27/06 10:35:24 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/info.el

    r4058 r4091  
    28672867           (nth 2 (car Info-index-alternatives)) 
    28682868           (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))) 
    28712874             "(Only match)"))) 
    28722875 
     
    29082911      (let ((Info-fontify-maximum-menu-size nil)) 
    29092912        (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)) 
    29102920        (message "Searching indices...") 
    29112921        (goto-char (point-min)) 
    29122922        (re-search-forward "\\* Menu: *\n" nil t) 
    29132923        (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))) 
    29152927        (dolist (manual (nreverse manuals)) 
    29162928          (message "Searching %s" manual)