From: tsuchiya Date: Wed, 5 May 2004 09:50:24 +0000 (+0000) Subject: (toplevel): Wrap definitions of `gnus-article-current-summary' and X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c047fc974b4b85e4309990a6c3071c2b7b45222a;p=elisp%2Flsdb.git (toplevel): Wrap definitions of `gnus-article-current-summary' and `gnus-original-article-buffer' with `eval-when-compile' to keep information where they are defined. --- diff --git a/lsdb.el b/lsdb.el index 5c4b266..ba39641 100644 --- a/lsdb.el +++ b/lsdb.el @@ -1532,8 +1532,10 @@ of the buffer." (add-hook 'gnus-article-prepare-hook 'lsdb-gnus-update-record) (add-hook 'gnus-save-newsrc-hook 'lsdb-mode-save)) -(defvar gnus-article-current-summary) -(defvar gnus-original-article-buffer) +(eval-when-compile + (defvar gnus-article-current-summary) + (defvar gnus-original-article-buffer)) + (defun lsdb-gnus-update-record () (with-current-buffer (with-current-buffer gnus-article-current-summary gnus-original-article-buffer)