aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-10-13 02:09:57 +0000
committerRichard M. Stallman2004-10-13 02:09:57 +0000
commitcc3f6c32b9ec83fb5bada972ca8cf16f58b3d49c (patch)
treeb55939a062b9dc7efc2f395ba74ecc810103bf4d
parent3bfb0bff7b4a247d46ddc362d0c1dd27b9644179 (diff)
downloademacs-cc3f6c32b9ec83fb5bada972ca8cf16f58b3d49c.tar.gz
emacs-cc3f6c32b9ec83fb5bada972ca8cf16f58b3d49c.zip
(info-xref): Add underlining.
(info): Add info-file property. (Info-find-emacs-command-nodes): Specify case-sensitive search.
-rw-r--r--lisp/info.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 2a20fc4898c..386f5b612ec 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -79,8 +79,8 @@ The Lisp code is executed when the node is selected.")
79 :group 'info) 79 :group 'info)
80 80
81(defface info-xref 81(defface info-xref
82 '((((class color) (background light)) :foreground "blue") 82 '((((class color) (background light)) :foreground "blue" :underline t)
83 (((class color) (background dark)) :foreground "cyan") 83 (((class color) (background dark)) :foreground "cyan" :underline t)
84 (t :underline t)) 84 (t :underline t))
85 "Face for Info cross-references." 85 "Face for Info cross-references."
86 :group 'info) 86 :group 'info)
@@ -455,6 +455,7 @@ Do the right thing if the file has been compressed or zipped."
455 455
456;;;###autoload (add-hook 'same-window-regexps "\\*info\\*\\(\\|<[0-9]+>\\)") 456;;;###autoload (add-hook 'same-window-regexps "\\*info\\*\\(\\|<[0-9]+>\\)")
457 457
458;;;###autoload (put 'info 'info-file "emacs")
458;;;###autoload 459;;;###autoload
459(defun info (&optional file buffer) 460(defun info (&optional file buffer)
460 "Enter Info, the documentation browser. 461 "Enter Info, the documentation browser.
@@ -3261,6 +3262,7 @@ The locations are of the format used in `Info-history', i.e.
3261 (car elt) 3262 (car elt)
3262 elt)) 3263 elt))
3263 (file (if (consp elt) (cdr elt) elt)) 3264 (file (if (consp elt) (cdr elt) elt))
3265 (case-fold-search nil)
3264 (regexp (concat "\\`" (regexp-quote name) 3266 (regexp (concat "\\`" (regexp-quote name)
3265 "\\(\\'\\|-\\)"))) 3267 "\\(\\'\\|-\\)")))
3266 (if (string-match regexp (symbol-name command)) 3268 (if (string-match regexp (symbol-name command))