aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno2011-03-05 03:56:02 +0000
committerKatsumi Yamaoka2011-03-05 03:56:02 +0000
commit8879add883a672abcf54df796788a68116529a2d (patch)
treedcc1027ff5720b96f36b7d09070d413f7014743a
parenta9eeff78d5bdcb9e03055376705e8f31fe145b79 (diff)
downloademacs-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/ChangeLog3
-rw-r--r--lisp/gnus/message.el7
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 @@
12011-03-04 Daiki Ueno <ueno@unixuser.org> 12011-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
62011-03-03 Tassilo Horn <tassilo@member.fsf.org> 72011-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.")