Improve the Info mode line further
* lisp/info.el (Info-set-mode-line): Improve the Info mode line further (bug#13776).
This commit is contained in:
parent
4128186cc9
commit
f10a4aad33
1 changed files with 5 additions and 3 deletions
|
@ -1735,10 +1735,12 @@ escaped (\\\",\\\\)."
|
|||
(if (stringp Info-current-file)
|
||||
(string-replace
|
||||
"%" "%%"
|
||||
(file-name-sans-extension
|
||||
(file-name-nondirectory Info-current-file)))
|
||||
;; Remove trailing ".info" and ".info.gz", etc.
|
||||
(replace-regexp-in-string
|
||||
"\\..*\\'" ""
|
||||
(file-name-nondirectory Info-current-file)))
|
||||
(format "*%S*" Info-current-file))
|
||||
'help-echo "Info file name")
|
||||
'help-echo "Manual name")
|
||||
") ")
|
||||
(if Info-current-node
|
||||
(propertize (string-replace
|
||||
|
|
Loading…
Add table
Reference in a new issue