# HG changeset patch # User Juanma Barranquero # Date 1199406805 0 # Node ID 0a47345ea1c3329cb3fd87d156a7c82d880ebc4b # Parent d8fd4b494f77824ed61a54d89808da3535acb6a8 (savehist-coding-system): Default to a variant coding system with explicit unix end-of-line conversion, which is safer. diff -r d8fd4b494f77 -r 0a47345ea1c3 lisp/savehist.el --- 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 ;; 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.")