Mercurial > emacs
changeset 5851:bdb049c20e39
(rmail-edit-current-message): Make local variables permanent, so
the user can safely change major modes during an edit.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 08 Feb 1994 22:26:30 +0000 |
parents | dc5249a23957 |
children | f2e341b1f908 |
files | lisp/mail/rmailedit.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmailedit.el Tue Feb 08 22:25:35 1994 +0000 +++ b/lisp/mail/rmailedit.el Tue Feb 08 22:26:30 1994 +0000 @@ -58,6 +58,7 @@ (rmail-edit-mode) (make-local-variable 'rmail-old-text) (setq rmail-old-text (buffer-substring (point-min) (point-max))) + (put 'rmail-old-text 'permanent-local t) (setq buffer-read-only nil) (set-buffer-modified-p (buffer-modified-p)) ;; Make mode line update.