aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-15 04:02:49 +0000
committerRichard M. Stallman1997-05-15 04:02:49 +0000
commit4544e9dbee944cfef164396717f83f8c43ac421c (patch)
treea8d745e2d457a2adc00a3000cefc122b2ab3b3c7
parent982fa4e51490755aa01ca8693a8615f2c1520e4f (diff)
downloademacs-4544e9dbee944cfef164396717f83f8c43ac421c.tar.gz
emacs-4544e9dbee944cfef164396717f83f8c43ac421c.zip
(mode-line-mule-info): Delete the colon.
(mode-line-buffer-identification): Delete %F:. (mode-line-frame-identification): New variable. (mode-line-format): Use mode-line-frame-identification. Start with a dash. (mode-line-modified): Delete the final dash.
-rw-r--r--lisp/bindings.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 36682a847b3..a3d795952fb 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -50,34 +50,37 @@
50(defconst mode-line-mule-info 50(defconst mode-line-mule-info
51 (purecopy '(enable-multibyte-characters 51 (purecopy '(enable-multibyte-characters
52 ((current-input-method ("[" current-input-method-title "]")) 52 ((current-input-method ("[" current-input-method-title "]"))
53 "%z:"))) 53 "%z")))
54 "Mode-line control for displaying information of multilingual environment.") 54 "Mode-line control for displaying information of multilingual environment.")
55 55
56(make-variable-buffer-local 'mode-line-mule-info) 56(make-variable-buffer-local 'mode-line-mule-info)
57 57
58(defvar mode-line-buffer-identification (purecopy '("%F: %12b")) 58(defvar mode-line-buffer-identification (purecopy '("%12b"))
59 "Mode-line control for identifying the buffer being displayed. 59 "Mode-line control for identifying the buffer being displayed.
60Its default value is (\"%F: %12b\"). Under X, `%F' is replaced with `Emacs'. 60Its default value is (\"%12b\").
61Major modes that edit things other than ordinary files may change this 61Major modes that edit things other than ordinary files may change this
62\(e.g. Info, Dired,...)") 62\(e.g. Info, Dired,...)")
63 63
64(make-variable-buffer-local 'mode-line-buffer-identification) 64(make-variable-buffer-local 'mode-line-buffer-identification)
65 65
66(defvar mode-line-frame-identification '("-%F "))
67
66(defvar mode-line-process nil 68(defvar mode-line-process nil
67 "Mode-line control for displaying info on process status. 69 "Mode-line control for displaying info on process status.
68Normally nil in most modes, since there is no process to display.") 70Normally nil in most modes, since there is no process to display.")
69 71
70(make-variable-buffer-local 'mode-line-process) 72(make-variable-buffer-local 'mode-line-process)
71 73
72(defvar mode-line-modified (purecopy '("--%1*%1+-")) 74(defvar mode-line-modified (purecopy '("--%1*%1+"))
73 "Mode-line control for displaying whether current buffer is modified.") 75 "Mode-line control for displaying whether current buffer is modified.")
74 76
75(make-variable-buffer-local 'mode-line-modified) 77(make-variable-buffer-local 'mode-line-modified)
76 78
77(setq-default mode-line-format 79(setq-default mode-line-format
78 (list (purecopy "") 80 (list (purecopy "-")
79 'mode-line-mule-info 81 'mode-line-mule-info
80 'mode-line-modified 82 'mode-line-modified
83 'mode-line-frame-identification
81 'mode-line-buffer-identification 84 'mode-line-buffer-identification
82 (purecopy " ") 85 (purecopy " ")
83 'global-mode-string 86 'global-mode-string