diff options
| author | Richard M. Stallman | 2004-12-13 19:31:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-12-13 19:31:32 +0000 |
| commit | 6b3600ffb85e46f9233f1d6ac0a77589afb896fa (patch) | |
| tree | 3a317f579b81af5df11bb9c9f859384ea0866eca | |
| parent | cf459bb7389d8b2e841a616237723197acd17a9e (diff) | |
| download | emacs-6b3600ffb85e46f9233f1d6ac0a77589afb896fa.tar.gz emacs-6b3600ffb85e46f9233f1d6ac0a77589afb896fa.zip | |
(info-xref-visited): Use `default' instead of t.
(Info-try-follow-nearest-node): Don't explicitly load browse-url.
| -rw-r--r-- | lisp/info.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/info.el b/lisp/info.el index ef4225e5a3e..750f302d422 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -86,7 +86,7 @@ The Lisp code is executed when the node is selected.") | |||
| 86 | :group 'info) | 86 | :group 'info) |
| 87 | 87 | ||
| 88 | (defface info-xref-visited | 88 | (defface info-xref-visited |
| 89 | '((t :inherit info-xref) | 89 | '((default :inherit info-xref) |
| 90 | (((class color) (background light)) :foreground "magenta4") | 90 | (((class color) (background light)) :foreground "magenta4") |
| 91 | (((class color) (background dark)) :foreground "magenta3")) ;"violet"? | 91 | (((class color) (background dark)) :foreground "magenta3")) ;"violet"? |
| 92 | "Face for visited Info cross-references." | 92 | "Face for visited Info cross-references." |
| @@ -2834,8 +2834,7 @@ if point is in a menu item description, follow that menu item." | |||
| 2834 | "Follow a node reference near point. Return non-nil if successful." | 2834 | "Follow a node reference near point. Return non-nil if successful." |
| 2835 | (let (node) | 2835 | (let (node) |
| 2836 | (cond | 2836 | (cond |
| 2837 | ((and (Info-get-token (point) "[hf]t?tp://" "[hf]t?tp://\\([^ \t\n\"`({<>})']+\\)") | 2837 | ((Info-get-token (point) "[hf]t?tp://" "[hf]t?tp://\\([^ \t\n\"`({<>})']+\\)") |
| 2838 | (or (featurep 'browse-url) (require 'browse-url nil t))) | ||
| 2839 | (setq node t) | 2838 | (setq node t) |
| 2840 | (browse-url (browse-url-url-at-point))) | 2839 | (browse-url (browse-url-url-at-point))) |
| 2841 | ((setq node (Info-get-token (point) "\\*note[ \n\t]+" | 2840 | ((setq node (Info-get-token (point) "\\*note[ \n\t]+" |