From c047fc974b4b85e4309990a6c3071c2b7b45222a Mon Sep 17 00:00:00 2001 From: tsuchiya Date: Wed, 5 May 2004 09:50:24 +0000 Subject: [PATCH] (toplevel): Wrap definitions of `gnus-article-current-summary' and `gnus-original-article-buffer' with `eval-when-compile' to keep information where they are defined. --- lsdb.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 1.7.10.4