changeset 87544:0a47345ea1c3

(savehist-coding-system): Default to a variant coding system with explicit unix end-of-line conversion, which is safer.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 04 Jan 2008 00:33:25 +0000
parents d8fd4b494f77
children e127b66c26e2
files lisp/savehist.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/savehist.el	Thu Jan 03 22:01:45 2008 +0000
+++ b/lisp/savehist.el	Fri Jan 04 00:33:25 2008 +0000
@@ -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 @@
 (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.")