From 31d87daa5baa0fdecdb1c15d844e3cb2a8c01a37 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 26 Dec 1995 04:38:27 +0000 Subject: [PATCH] When turning on default settings, preserve iso-accents-enable if it's already set. --- lisp/international/iso-acc.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/international/iso-acc.el b/lisp/international/iso-acc.el index 0febc122ec5..ae8aace6344 100644 --- a/lisp/international/iso-acc.el +++ b/lisp/international/iso-acc.el @@ -327,7 +327,11 @@ Noninteractively, this operates on text from START to END." (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 - -- 2.39.2