X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/416148257afedb97bbe6d732eea3a0c72473dab0..bdda4855c635ecf4135e23321bdba023e9ae65c9:/lisp/savehist.el diff --git a/lisp/savehist.el b/lisp/savehist.el index 26e9d0b881..e700a172f1 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el @@ -1,6 +1,6 @@ ;;; savehist.el --- Save minibuffer history -;; Copyright (C) 1997, 2005-2014 Free Software Foundation, Inc. +;; Copyright (C) 1997, 2005-2016 Free Software Foundation, Inc. ;; Author: Hrvoje Niksic ;; Maintainer: emacs-devel@gnu.org @@ -270,8 +270,12 @@ If AUTO-SAVE is non-nil, compare the saved contents to the one last saved, (interactive) (with-temp-buffer (insert - (format ";; -*- mode: emacs-lisp; coding: %s -*-\n" savehist-coding-system) - ";; Minibuffer history file, automatically generated by `savehist'.\n\n") + (format-message + (concat + ";; -*- mode: emacs-lisp; coding: %s -*-\n" + ";; Minibuffer history file, automatically generated by `savehist'.\n" + "\n") + savehist-coding-system)) (run-hooks 'savehist-save-hook) (let ((print-length nil) (print-string-length nil)