changeset 13865:9731edfdb270

When turning on default settings, preserve iso-accents-enable if it's already set.
author Richard M. Stallman <rms@gnu.org>
date Tue, 26 Dec 1995 04:38:27 +0000
parents 8389738a7792
children 808d4570cb4b
files lisp/international/iso-acc.el
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/iso-acc.el	Tue Dec 26 04:37:05 1995 +0000
+++ b/lisp/international/iso-acc.el	Tue Dec 26 04:38:27 1995 +0000
@@ -327,7 +327,11 @@
 		(insert (car (cdr (car entry)))))
 	    (forward-char 1)))))))
 
-(iso-accents-customize "default")
+;; Set up the default settings, but don't override
+;; iso-accents-enable if the user has already set it.
+(let ((old iso-accents-enable))
+  (iso-accents-customize "default")
+  (if old
+      (setq iso-accents-enable old)))
 
 ;;; iso-acc.el ends here
-