From 7619d43bc4383e10670508d8c38bf9e707f636ee Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 4 Jan 2008 00:33:55 +0000 Subject: [PATCH] (savehist-coding-system): Default to a variant coding system with explicit unix end-of-line conversion, which is safer. --- lisp/ChangeLog | 9 +++++++-- lisp/savehist.el | 4 ++-- 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 + + * 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 * 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 - Wilson Snyder +2007-12-08 Michael McNamara + Wilson Snyder * 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 ;; 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.") -- 2.39.2