Mercurial > emacs
comparison lisp/textmodes/remember.el @ 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 | 683a6a9e56ab |
children | 25de6f4a58d8 |
comparison
equal
deleted
inserted
replaced
85912:7c8efc54844c | 85913:047b6a6087c2 |
---|---|
429 "Remember the contents of the current buffer." | 429 "Remember the contents of the current buffer." |
430 (interactive) | 430 (interactive) |
431 (remember-region (point-min) (point-max))) | 431 (remember-region (point-min) (point-max))) |
432 | 432 |
433 ;; Org needs this | 433 ;; Org needs this |
434 (defalias 'remember-buffer 'remember-finalize) | 434 (define-obsolete-function-alias 'remember-buffer 'remember-finalize) |
435 | 435 |
436 (defun remember-destroy () | 436 (defun remember-destroy () |
437 "Destroy the current *Remember* buffer." | 437 "Destroy the current *Remember* buffer." |
438 (interactive) | 438 (interactive) |
439 (when (equal remember-buffer (buffer-name)) | 439 (when (equal remember-buffer (buffer-name)) |