(Info-mode): Double each `%' in header line.
This commit is contained in:
parent
9e1b128cd0
commit
605f14946c
1 changed files with 4 additions and 1 deletions
|
@ -2522,7 +2522,10 @@ Advanced commands:
|
|||
(make-local-variable 'Info-index-alternatives)
|
||||
(setq header-line-format
|
||||
(if Info-use-header-line
|
||||
'(:eval (get-text-property (point-min) 'header-line))
|
||||
'(:eval
|
||||
(replace-regexp-in-string
|
||||
"%" "%%"
|
||||
(get-text-property (point-min) 'header-line)))
|
||||
nil)) ; so the header line isn't displayed
|
||||
(set (make-local-variable 'tool-bar-map) info-tool-bar-map)
|
||||
;; This is for the sake of the invisible text we use handling titles.
|
||||
|
|
Loading…
Add table
Reference in a new issue