(mode-line-frame-control): New function, caters to pc' `window system''.
(mode-line-frame-identification): Use it instead of accessing window-system directly.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2008-08-25 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* bindings.el (mode-line-frame-control): New function, caters to
|
||||
`pc' ``window system''.
|
||||
(mode-line-frame-identification): Use it instead of accessing
|
||||
window-system directly.
|
||||
|
||||
2008-08-25 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* textmodes/text-mode.el (text-mode-map): Unbind "\es" from
|
||||
|
||||
@@ -215,7 +215,17 @@ mnemonics of the following coding systems:
|
||||
|
||||
(make-variable-buffer-local 'mode-line-mule-info)
|
||||
|
||||
(defvar mode-line-frame-identification '(window-system " " "-%F ")
|
||||
;; MSDOS frames have window-system, but want the Fn identification.
|
||||
(defun mode-line-frame-control ()
|
||||
"Compute mode-line control for frame identification.
|
||||
Value is used for `mode-line-frame-identification', which see."
|
||||
(if (or (null (window-system))
|
||||
(eq (window-system) 'pc))
|
||||
"-%F "
|
||||
" "))
|
||||
|
||||
(defvar mode-line-frame-identification
|
||||
(list (mode-line-frame-control))
|
||||
"Mode-line control to describe the current frame.")
|
||||
|
||||
(defvar mode-line-process nil "\
|
||||
|
||||
Reference in New Issue
Block a user