summaryrefslogtreecommitdiff
path: root/lisp/savehist.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-01-04 00:33:55 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-01-04 00:33:55 +0000
commit7619d43bc4383e10670508d8c38bf9e707f636ee (patch)
tree0c2c6dc434a5b87c7d9a456465da5d4311b432d2 /lisp/savehist.el
parent9dfee9c2713c9d3322519e90b819dbf7b5889103 (diff)
downloademacs-7619d43bc4383e10670508d8c38bf9e707f636ee.tar.gz
emacs-7619d43bc4383e10670508d8c38bf9e707f636ee.tar.bz2
emacs-7619d43bc4383e10670508d8c38bf9e707f636ee.zip
(savehist-coding-system): Default to a variant coding system
with explicit unix end-of-line conversion, which is safer.
Diffstat (limited to 'lisp/savehist.el')
-rw-r--r--lisp/savehist.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/savehist.el b/lisp/savehist.el
index 705be69088d..4a86d6f0bde 100644
--- a/lisp/savehist.el
+++ b/lisp/savehist.el
@@ -1,6 +1,6 @@
;;; savehist.el --- Save minibuffer history.
-;; Copyright (C) 1997, 2005, 2006, 2007 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
;; Author: Hrvoje Niksic <hniksic@xemacs.org>
;; Keywords: minibuffer
@@ -152,7 +152,7 @@ save."
(defvar savehist-coding-system (if (and (featurep 'xemacs)
(<= emacs-major-version 21)
(< emacs-minor-version 5))
- 'iso-2022-8 'utf-8)
+ 'iso-2022-8 'utf-8-unix)
"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.")