aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2005-10-19 19:09:58 +0000
committerStefan Monnier2005-10-19 19:09:58 +0000
commite27e4e7a3b9aea1478806ea5d29c0db23e413cd0 (patch)
treee9661e8219988972f9652f694671c413f6b28bbd /lisp
parent51391fb92d0391881b288deb87c06543acfe493a (diff)
downloademacs-e27e4e7a3b9aea1478806ea5d29c0db23e413cd0.tar.gz
emacs-e27e4e7a3b9aea1478806ea5d29c0db23e413cd0.zip
(savehist-coding-system): Revert to checking XEmacs.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/savehist.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/savehist.el b/lisp/savehist.el
index de0f1504ff8..efbc1e934a6 100644
--- a/lisp/savehist.el
+++ b/lisp/savehist.el
@@ -138,7 +138,12 @@ the user's privacy."
138 :type 'integer 138 :type 'integer
139 :group 'savehist) 139 :group 'savehist)
140 140
141(defvar savehist-coding-system (if (coding-system-p 'utf-8) 'utf-8 'iso-2022-8) 141(defvar savehist-coding-system
142 ;; UTF-8 is usually preferable to ISO-2022-8 when available, but under
143 ;; XEmacs, UTF-8 is provided by external packages, and may not always be
144 ;; available, so even if it currently is available, we prefer not to
145 ;; use is.
146 (if (featurep 'xemacs) 'iso-2022-8 'utf-8)
142 "The coding system savehist uses for saving the minibuffer history. 147 "The coding system savehist uses for saving the minibuffer history.
143Changing this value while Emacs is running is supported, but considered 148Changing this value while Emacs is running is supported, but considered
144unwise, unless you know what you are doing.") 149unwise, unless you know what you are doing.")