diff options
| author | Daiki Ueno | 2011-03-05 03:56:02 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-03-05 03:56:02 +0000 |
| commit | 8879add883a672abcf54df796788a68116529a2d (patch) | |
| tree | dcc1027ff5720b96f36b7d09070d413f7014743a | |
| parent | a9eeff78d5bdcb9e03055376705e8f31fe145b79 (diff) | |
| download | emacs-8879add883a672abcf54df796788a68116529a2d.tar.gz emacs-8879add883a672abcf54df796788a68116529a2d.zip | |
message.el (message-options): Don't mark it buffer-local when running under XEmacs.
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index efeb6b7b239..18a798613a8 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | 2011-03-04 Daiki Ueno <ueno@unixuser.org> | 1 | 2011-03-04 Daiki Ueno <ueno@unixuser.org> |
| 2 | 2 | ||
| 3 | * message.el (message-options): Revert the change that's a workaround | 3 | * message.el (message-options): Revert the change that's a workaround |
| 4 | for XEmacs buffer-local issue. | 4 | for XEmacs buffer-local issue; don't mark it buffer-local when running |
| 5 | under XEmacs. | ||
| 5 | 6 | ||
| 6 | 2011-03-03 Tassilo Horn <tassilo@member.fsf.org> | 7 | 2011-03-03 Tassilo Horn <tassilo@member.fsf.org> |
| 7 | 8 | ||
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 58daf1baf94..242a6baabee 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1814,7 +1814,12 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'." | |||
| 1814 | 1814 | ||
| 1815 | (defvar message-options nil | 1815 | (defvar message-options nil |
| 1816 | "Some saved answers when sending message.") | 1816 | "Some saved answers when sending message.") |
| 1817 | (make-variable-buffer-local 'message-options) | 1817 | ;; FIXME: On XEmacs this causes problems since let-binding like: |
| 1818 | ;; (let ((message-options message-options)) ...) | ||
| 1819 | ;; as in `message-send' and `mml-preview' loses to buffer-local | ||
| 1820 | ;; variable initialization. | ||
| 1821 | (unless (featurep 'xemacs) | ||
| 1822 | (make-variable-buffer-local 'message-options)) | ||
| 1818 | 1823 | ||
| 1819 | (defvar message-send-mail-real-function nil | 1824 | (defvar message-send-mail-real-function nil |
| 1820 | "Internal send mail function.") | 1825 | "Internal send mail function.") |