From 6159985a125d89084f7b7339982382ec263e8943 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sat, 3 Nov 2007 20:45:20 +0000 Subject: [PATCH] Remember: Use define-obsolete-function-alias for `remember-buffer'. --- doc/misc/ChangeLog | 5 +++++ doc/misc/remember.texi | 10 +++++----- lisp/ChangeLog | 5 +++++ lisp/textmodes/remember.el | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 489e4ec29e7..409692bdeb3 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2007-11-03 Michael Olson + + * remember.texi: Change mentions of remember-buffer to + remember-finalize throughout. + 2007-10-30 Michael Olson * remember.texi (Copying): Remove. diff --git a/doc/misc/remember.texi b/doc/misc/remember.texi index 8b981232b9d..41d1777bf5a 100644 --- a/doc/misc/remember.texi +++ b/doc/misc/remember.texi @@ -202,11 +202,11 @@ the headline, and the rest of the buffer will contain the body of the note. @item -Type @kbd{C-c C-c} (@code{remember-buffer}) to save the note and close +Type @kbd{C-c C-c} (@code{remember-finalize}) to save the note and close the @samp{*Remember*} buffer. @end itemize -By default, @code{remember-buffer} saves the note in @file{~/.notes}. +By default, @code{remember-finalize} saves the note in @file{~/.notes}. You can edit it now to see the remembered and timestamped note. You can edit this file however you want. New entries will always be added to the end. @@ -278,7 +278,7 @@ Remember the contents of the current clipboard. This is most useful for remembering things from Netscape or other X Windows applications. @end defun -@defun remember-buffer +@defun remember-finalize Remember the contents of the current buffer. @end defun @@ -297,13 +297,13 @@ the data for latter retrieval, and possible indexing. @table @kbd -@item C-c C-c (`remember-buffer') +@item C-c C-c (`remember-finalize') Remember the contents of the current buffer. @item C-c C-k (`remember-destroy') Destroy the current *Remember* buffer. -@item C-x C-s (`remember-buffer') +@item C-x C-s (`remember-finalize') Remember the contents of the current buffer. @end table diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8562f6dbbe6..e9e6d75b911 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-11-03 Michael Olson + + * textmodes/remember.el (remember-buffer): Use + define-obsolete-function-alias rather than defalias. + 2007-11-03 Ulrich Mueller (tiny change) * simple.el (bad-packages-alist): Anchor semantic regexp. diff --git a/lisp/textmodes/remember.el b/lisp/textmodes/remember.el index 37290fe19e8..7249f1d4c57 100644 --- a/lisp/textmodes/remember.el +++ b/lisp/textmodes/remember.el @@ -431,7 +431,7 @@ application." (remember-region (point-min) (point-max))) ;; Org needs this -(defalias 'remember-buffer 'remember-finalize) +(define-obsolete-function-alias 'remember-buffer 'remember-finalize) (defun remember-destroy () "Destroy the current *Remember* buffer." -- 2.39.2