diff options
| author | Eli Zaretskii | 1999-01-27 10:12:43 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1999-01-27 10:12:43 +0000 |
| commit | d4308a4dc15d289fa0cfbaf0b7944b761bc5069f (patch) | |
| tree | bb72a8fc570f453c03887e5c42ee91c7ed75fb14 | |
| parent | de0d1fc591c28141e0fcce1b407b28fb87949cda (diff) | |
| download | emacs-d4308a4dc15d289fa0cfbaf0b7944b761bc5069f.tar.gz emacs-d4308a4dc15d289fa0cfbaf0b7944b761bc5069f.zip | |
(command-line): Set default eol-mnemonic-* strings to
display end-of-line format in mode line.
| -rw-r--r-- | lisp/startup.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 3def4ed0876..950cf702ffc 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -558,6 +558,18 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 558 | ;;! ;; Choose a good default value for split-window-keep-point. | 558 | ;;! ;; Choose a good default value for split-window-keep-point. |
| 559 | ;;! (setq split-window-keep-point (> baud-rate 2400)) | 559 | ;;! (setq split-window-keep-point (> baud-rate 2400)) |
| 560 | 560 | ||
| 561 | ;; Set the default strings to display in mode line for | ||
| 562 | ;; end-of-line formats that aren't native to this platform. | ||
| 563 | (cond | ||
| 564 | ((memq system-type '(ms-dos windows-nt emx)) | ||
| 565 | (setq eol-mnemonic-unix "(Unix)") | ||
| 566 | (setq eol-mnemonic-mac "(Mac)")) | ||
| 567 | ;; Mac-specific settings should come here, once there's a | ||
| 568 | ;; system-type symbol specific to MacOS. | ||
| 569 | (t ; this is for Unix/GNU/Linux systems | ||
| 570 | (setq eol-mnemonic-dos "(DOS)") | ||
| 571 | (setq eol-mnemonic-mac "(Mac)"))) | ||
| 572 | |||
| 561 | ;; Read window system's init file if using a window system. | 573 | ;; Read window system's init file if using a window system. |
| 562 | (condition-case error | 574 | (condition-case error |
| 563 | (if (and window-system (not noninteractive)) | 575 | (if (and window-system (not noninteractive)) |