changeset 85913:047b6a6087c2

Remember: Use define-obsolete-function-alias for `remember-buffer'.
author Michael Olson <mwolson@gnu.org>
date Sat, 03 Nov 2007 20:45:20 +0000
parents 7c8efc54844c
children b51c8db87a41
files doc/misc/ChangeLog doc/misc/remember.texi lisp/ChangeLog lisp/textmodes/remember.el
diffstat 4 files changed, 16 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/doc/misc/ChangeLog	Sat Nov 03 08:50:25 2007 +0000
+++ b/doc/misc/ChangeLog	Sat Nov 03 20:45:20 2007 +0000
@@ -1,3 +1,8 @@
+2007-11-03  Michael Olson  <mwolson@gnu.org>
+
+	* remember.texi: Change mentions of remember-buffer to
+	remember-finalize throughout.
+
 2007-10-30  Michael Olson  <mwolson@gnu.org>
 
 	* remember.texi (Copying): Remove.
--- a/doc/misc/remember.texi	Sat Nov 03 08:50:25 2007 +0000
+++ b/doc/misc/remember.texi	Sat Nov 03 20:45:20 2007 +0000
@@ -202,11 +202,11 @@
 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 @@
 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 @@
 
 @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
--- a/lisp/ChangeLog	Sat Nov 03 08:50:25 2007 +0000
+++ b/lisp/ChangeLog	Sat Nov 03 20:45:20 2007 +0000
@@ -1,3 +1,8 @@
+2007-11-03  Michael Olson  <mwolson@gnu.org>
+
+	* textmodes/remember.el (remember-buffer): Use
+	define-obsolete-function-alias rather than defalias.
+
 2007-11-03  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)
 
 	* simple.el (bad-packages-alist): Anchor semantic regexp.
--- a/lisp/textmodes/remember.el	Sat Nov 03 08:50:25 2007 +0000
+++ b/lisp/textmodes/remember.el	Sat Nov 03 20:45:20 2007 +0000
@@ -431,7 +431,7 @@
   (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."