diff options
author | Juri Linkov <juri@jurta.org> | 2006-02-13 15:44:01 +0000 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2006-02-13 15:44:01 +0000 |
commit | fd5b25da6a3ea29591d128455b4ddd325b34a174 (patch) | |
tree | 1de57c7e0b188ab9d92340a50ae832f26b86c64a /lisp/info.el | |
parent | ace665ea95af278749a80a5a743ce4a16374229c (diff) | |
download | emacs-fd5b25da6a3ea29591d128455b4ddd325b34a174.tar.gz |
(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.
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/info.el b/lisp/info.el index 96cbb218e96..e3514fb9729 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -134,7 +134,7 @@ The Lisp code is executed when the node is selected.") :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 @@ any double quotes or backslashes must be escaped (\\\",\\\\)." (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" |