summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-07-03 19:06:03 +0000
committerRichard M. Stallman <rms@gnu.org>1994-07-03 19:06:03 +0000
commite9d8e8c77ef72d4667bdd35a0e8d94287480c1bd (patch)
tree2fad3134d385fbdf52a8f27725371898871aa9f0 /lisp/startup.el
parentde0724367ce37e0fd26c033dd30316567a14266f (diff)
downloademacs-e9d8e8c77ef72d4667bdd35a0e8d94287480c1bd.tar.gz
(command-line): Automatically use iso-syntax and
standard-display-european if LC_CTYPE asks for it.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index dadce5b3d41..d2009fb38db 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -217,6 +217,11 @@ this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.")
(string= vc "simple"))
(setq version-control 'never))))
+ (if (string-equal (getenv "LC_CTYPE") "iso_8859_1")
+ (progn
+ (standard-display-european t)
+ (require 'iso-syntax)))
+
;;! This has been commented out; I currently find the behavior when
;;! split-window-keep-point is nil disturbing, but if I can get used
;;! to it, then it would be better to eliminate the option.