summaryrefslogtreecommitdiff
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
parent9dfee9c2713c9d3322519e90b819dbf7b5889103 (diff)
downloademacs-7619d43bc4383e10670508d8c38bf9e707f636ee.tar.gz
(savehist-coding-system): Default to a variant coding system
with explicit unix end-of-line conversion, which is safer.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/savehist.el4
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cb6f768d82c..3400963c846 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-04 Juanma Barranquero <lekktu@gmail.com>
+
+ * savehist.el (savehist-coding-system): Default to a variant coding
+ system with explicit unix end-of-line conversion, which is safer.
+
2008-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
* ibuf-ext.el (mode-name sorter, ibuffer-mark-by-mode-regexp):
@@ -844,8 +849,8 @@
(verilog-emacs-features, verilog-auto-ascii-enum)
(verilog-insert-indices): Escape braces in doc strings.
-2007-12-08 Michael McNamara <mac@verilog.com>
- Wilson Snyder <wsnyder@wsnyder.org>
+2007-12-08 Michael McNamara <mac@verilog.com>
+ Wilson Snyder <wsnyder@wsnyder.org>
* progmodes/verilog-mode.el: New file.
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.")