Mercurial > emacs
changeset 66205:e52f114d1dc3
(savehist-coding-system): Revert to checking XEmacs.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 19 Oct 2005 19:09:58 +0000 |
parents | a8db6fae0f83 |
children | fffcb2d302a5 |
files | lisp/savehist.el |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/savehist.el Wed Oct 19 16:56:17 2005 +0000 +++ b/lisp/savehist.el Wed Oct 19 19:09:58 2005 +0000 @@ -138,7 +138,12 @@ :type 'integer :group 'savehist) -(defvar savehist-coding-system (if (coding-system-p 'utf-8) 'utf-8 'iso-2022-8) +(defvar savehist-coding-system + ;; UTF-8 is usually preferable to ISO-2022-8 when available, but under + ;; XEmacs, UTF-8 is provided by external packages, and may not always be + ;; available, so even if it currently is available, we prefer not to + ;; use is. + (if (featurep 'xemacs) 'iso-2022-8 'utf-8) "The coding system savehist uses for saving the minibuffer history. Changing this value while Emacs is running is supported, but considered unwise, unless you know what you are doing.")