# HG changeset patch # User Richard M. Stallman # Date 1102966292 0 # Node ID 92b24762a33f98286e5a18972a4d3b3d176322a9 # Parent 95bb6b9a27a316dc4f148143ef204deeaf0acce0 (info-xref-visited): Use `default' instead of t. (Info-try-follow-nearest-node): Don't explicitly load browse-url. diff -r 95bb6b9a27a3 -r 92b24762a33f lisp/info.el --- a/lisp/info.el Mon Dec 13 19:29:33 2004 +0000 +++ b/lisp/info.el Mon Dec 13 19:31:32 2004 +0000 @@ -86,7 +86,7 @@ :group 'info) (defface info-xref-visited - '((t :inherit info-xref) + '((default :inherit info-xref) (((class color) (background light)) :foreground "magenta4") (((class color) (background dark)) :foreground "magenta3")) ;"violet"? "Face for visited Info cross-references." @@ -2834,8 +2834,7 @@ "Follow a node reference near point. Return non-nil if successful." (let (node) (cond - ((and (Info-get-token (point) "[hf]t?tp://" "[hf]t?tp://\\([^ \t\n\"`({<>})']+\\)") - (or (featurep 'browse-url) (require 'browse-url nil t))) + ((Info-get-token (point) "[hf]t?tp://" "[hf]t?tp://\\([^ \t\n\"`({<>})']+\\)") (setq node t) (browse-url (browse-url-url-at-point))) ((setq node (Info-get-token (point) "\\*note[ \n\t]+"