summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-06-15 14:42:48 +0000
committerGerd Moellmann <gerd@gnu.org>2000-06-15 14:42:48 +0000
commite27c25aebc60af868e0bfdac6070691f348c4f9a (patch)
tree5d892689a94feb0c0323088f13320c12bb931bdb /lisp/info.el
parent356b1352b5b459b19be92916a5d4c24e518b3fe6 (diff)
downloademacs-e27c25aebc60af868e0bfdac6070691f348c4f9a.tar.gz
(Info-set-mode-line): Show file name in mode line,
use `*Info*' instead of `Info:'.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/info.el b/lisp/info.el
index abc21a6a13c..76abc9043f9 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -855,13 +855,11 @@ Bind this in case the user sets it to nil."
(defun Info-set-mode-line ()
(setq mode-line-buffer-identification
(concat
- " Info: ("
- (if Info-current-file
- (file-name-nondirectory (if (stringp Info-current-file)
- Info-current-file
- (or buffer-file-name "")))
- "")
- ")"
+ " *Info* ("
+ (file-name-nondirectory (if (stringp Info-current-file)
+ Info-current-file
+ (or buffer-file-name "")))
+ ") "
(or Info-current-node ""))))
;; Go to an info node specified with a filename-and-nodename string