Remember: Use define-obsolete-function-alias for `remember-buffer'.

This commit is contained in:
Michael Olson 2007-11-03 20:45:20 +00:00
parent c5eb76e4a9
commit 6159985a12
4 changed files with 16 additions and 6 deletions

View file

@ -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.

View file

@ -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

View file

@ -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.

View file

@ -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."