emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnorb 6e6ee46 285/449: Zap another with-eval-after-load


From: Stefan Monnier
Subject: [elpa] externals/gnorb 6e6ee46 285/449: Zap another with-eval-after-load
Date: Fri, 27 Nov 2020 23:15:56 -0500 (EST)

branch: externals/gnorb
commit 6e6ee46d279d29e9caff3539ef4c1e16cdbd55a5
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Zap another with-eval-after-load
    
    * gnorb-utils.el (gnorb-tracking-initialize): Switch back to
      `eval-after-load'.
---
 gnorb-utils.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnorb-utils.el b/gnorb-utils.el
index ceeb695..da6d1ed 100644
--- a/gnorb-utils.el
+++ b/gnorb-utils.el
@@ -442,9 +442,10 @@ Gnus messages and Org headings. This requires that the Gnus
 registry be in use, and should be called after the call to
 `gnus-registry-initialize'."
   (require 'gnorb-registry)
-  (with-eval-after-load 'gnus-registry
-    (add-to-list 'gnus-registry-extra-entries-precious 'gnorb-ids)
-    (add-to-list 'gnus-registry-track-extra 'gnorb-ids))
+  (eval-after-load 'gnus-registry
+    '(progn
+       (add-to-list 'gnus-registry-extra-entries-precious 'gnorb-ids)
+       (add-to-list 'gnus-registry-track-extra 'gnorb-ids)))
   (add-hook
    'gnus-started-hook
    (lambda ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]