# HG changeset patch # User Juri Linkov # Date 1139845343 0 # Node ID 4e74c8b341d8c518f91329b01fcf0c84b7fdc3a1 # Parent 6f2a87fed652b3b97c4100cdf31c64b2167f783e (info-xref-visited): Inherit from info-xref too. (Info-set-mode-line): Replace occurrences of `%' by `%%' when propertizing Info-current-file and Info-current-node. diff -r 6f2a87fed652 -r 4e74c8b341d8 lisp/info.el --- a/lisp/info.el Mon Feb 13 14:47:25 2006 +0000 +++ b/lisp/info.el Mon Feb 13 15:42:23 2006 +0000 @@ -134,7 +134,7 @@ :group 'info) (defface info-xref-visited - '((t :inherit link-visited)) + '((t :inherit (link-visited info-xref))) "Face for visited Info cross-references." :version "22.1" :group 'info) @@ -1407,11 +1407,13 @@ (concat " (" (if (stringp Info-current-file) - (file-name-nondirectory Info-current-file) + (replace-regexp-in-string + "%" "%%" (file-name-nondirectory Info-current-file)) "") ") " (if Info-current-node - (propertize Info-current-node + (propertize (replace-regexp-in-string + "%" "%%" Info-current-node) 'face 'mode-line-buffer-id 'help-echo "mouse-1: scroll forward, mouse-3: scroll back"