From b59d7b842df04f789ccf25d6b1baecef4bded040 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 18 Apr 2008 10:33:52 +0000 Subject: [PATCH] (savehist-load): Add WHEN to obsolescence declaration. Remove redundant obsolescence info in docstring. --- lisp/savehist.el | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lisp/savehist.el b/lisp/savehist.el index 4a86d6f0bde..f161958fcac 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el @@ -228,13 +228,10 @@ which is probably undesirable." (add-minor-mode 'savehist-mode "") (defun savehist-load () - "Obsolete function provided for transition from old versions of savehist. -Don't call this from new code, use (savehist-mode 1) instead. - -This function loads the variables stored in `savehist-file' and turns on -`savehist-mode'. If `savehist-file' is in the old format that doesn't -record the value of `savehist-minibuffer-history-variables', that value -is deducted from the contents of the file." + "Load the variables stored in `savehist-file' and turn on `savehist-mode'. +If `savehist-file' is in the old format that doesn't record +the value of `savehist-minibuffer-history-variables', that +value is deducted from the contents of the file." (savehist-mode 1) ;; Old versions of savehist distributed with XEmacs didn't save ;; savehist-minibuffer-history-variables. If that variable is nil @@ -251,7 +248,7 @@ is deducted from the contents of the file." ;; Collect VAR, i.e. (nth form 1). (push (nth 1 form) vars)) vars))))) -(make-obsolete 'savehist-load 'savehist-mode) +(make-obsolete 'savehist-load 'savehist-mode "22.1") (defun savehist-install () "Hook savehist into Emacs. -- 2.39.5