[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb a55b0c0 273/449: Make gnorb-ids precious earlier
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb a55b0c0 273/449: Make gnorb-ids precious earlier in registry setup |
Date: |
Fri, 27 Nov 2020 23:15:54 -0500 (EST) |
branch: externals/gnorb
commit a55b0c04e37fc27d8ac17d1da5a5a21ead35ac3b
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Make gnorb-ids precious earlier in registry setup
* gnorb-utils.el (gnorb-tracking-initialize): Where it was, the precious
setting was coming too late, and not taking effect.
---
gnorb-utils.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnorb-utils.el b/gnorb-utils.el
index 06d981a..81efa32 100644
--- a/gnorb-utils.el
+++ b/gnorb-utils.el
@@ -433,13 +433,14 @@ 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))
(add-hook
'gnus-started-hook
(lambda ()
(unless (gnus-registry-install-p)
(user-error "Gnorb tracking requires that the Gnus registry be
installed."))
- (add-to-list 'gnus-registry-extra-entries-precious 'gnorb-ids)
- (add-to-list 'gnus-registry-track-extra 'gnorb-ids)
(add-hook 'org-capture-mode-hook 'gnorb-registry-capture)
(add-hook 'org-capture-prepare-finalize-hook
'gnorb-registry-capture-abort-cleanup)
(setq gnorb-tracking-enabled t))))
- [elpa] externals/gnorb 8db194a 259/449: Add TAGS to .gitignore, (continued)
- [elpa] externals/gnorb 8db194a 259/449: Add TAGS to .gitignore, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 14471db 262/449: Silence compiler warnings for unbound vars, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6aef624 265/449: Restore the layout after the restore process, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c44a87b 266/449: Deletion of associations when composing messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7a43d8b 267/449: Bug in message disassociation, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b82576c 268/449: Always clear attachments during triggering, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 15b35dc 269/449: Don't store a link to message we're replying to, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 67ce358 270/449: Version 1.0.1, plus docs and NEWS, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 806775c 272/449: Wrap save-excursion around more of gnorb-org-view, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 982aee9 271/449: Adjust requires and autoloads, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a55b0c0 273/449: Make gnorb-ids precious earlier in registry setup,
Stefan Monnier <=
- [elpa] externals/gnorb 3877b2d 275/449: Still didn't have incoming-do-todo logic right, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 94f6897 279/449: Don't use with-eval-after-load, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3801ad7 280/449: Check both gnus version and emacs version., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8c333ee 281/449: Merge pull request #20 from totherme/master, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8e705ea3 380/449: Sneakily add basic EBDB support to Gnorb, bump to 1.3.0, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4b5a5a1 389/449: Gnorb: Tweak manual a bit, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5672545 396/449: Gnorb: Typo, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 14ac82a 418/449: [gnorb] Use unwind-protect around the trigger process, bump to 1.5.4, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 471883d 394/449: Gnorb: Only add one registry-related hook to the Org capture process, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb babfa5c 393/449: Fix to after capture function, bump to 1.3.4, Stefan Monnier, 2020/11/27