diff options
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/bindings.el | 12 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2dea7f36f95..eb66d56e6e7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-08-25 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * bindings.el (mode-line-frame-control): New function, caters to | ||
| 4 | `pc' ``window system''. | ||
| 5 | (mode-line-frame-identification): Use it instead of accessing | ||
| 6 | window-system directly. | ||
| 7 | |||
| 1 | 2008-08-25 Juri Linkov <juri@jurta.org> | 8 | 2008-08-25 Juri Linkov <juri@jurta.org> |
| 2 | 9 | ||
| 3 | * textmodes/text-mode.el (text-mode-map): Unbind "\es" from | 10 | * textmodes/text-mode.el (text-mode-map): Unbind "\es" from |
diff --git a/lisp/bindings.el b/lisp/bindings.el index 559c3a35751..818467e567f 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -215,7 +215,17 @@ mnemonics of the following coding systems: | |||
| 215 | 215 | ||
| 216 | (make-variable-buffer-local 'mode-line-mule-info) | 216 | (make-variable-buffer-local 'mode-line-mule-info) |
| 217 | 217 | ||
| 218 | (defvar mode-line-frame-identification '(window-system " " "-%F ") | 218 | ;; MSDOS frames have window-system, but want the Fn identification. |
| 219 | (defun mode-line-frame-control () | ||
| 220 | "Compute mode-line control for frame identification. | ||
| 221 | Value is used for `mode-line-frame-identification', which see." | ||
| 222 | (if (or (null (window-system)) | ||
| 223 | (eq (window-system) 'pc)) | ||
| 224 | "-%F " | ||
| 225 | " ")) | ||
| 226 | |||
| 227 | (defvar mode-line-frame-identification | ||
| 228 | (list (mode-line-frame-control)) | ||
| 219 | "Mode-line control to describe the current frame.") | 229 | "Mode-line control to describe the current frame.") |
| 220 | 230 | ||
| 221 | (defvar mode-line-process nil "\ | 231 | (defvar mode-line-process nil "\ |