[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb e1129e9 170/449: Fix problems when BBDB is not pr
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb e1129e9 170/449: Fix problems when BBDB is not present and gnorb-bbdb is not loaded. |
Date: |
Fri, 27 Nov 2020 23:15:32 -0500 (EST) |
branch: externals/gnorb
commit e1129e929008abed902cf3befdb6f9cc03895728
Author: Malcolm Purvis <malcolm@purvis.id.au>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Fix problems when BBDB is not present and gnorb-bbdb is not loaded.
---
lisp/gnorb-org.el | 8 ++++----
lisp/gnorb.el | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lisp/gnorb-org.el b/lisp/gnorb-org.el
index 0568d3c..00ac6a4 100644
--- a/lisp/gnorb-org.el
+++ b/lisp/gnorb-org.el
@@ -547,8 +547,8 @@ current heading."
(when recs
(dolist (r recs)
(push (bbdb-mail-address r) mails)))
- (when (and gnorb-bbdb-posting-styles
- recs)
+ (when (and recs
+ gnorb-bbdb-posting-styles)
(add-hook 'message-mode-hook
(lambda ()
(gnorb-bbdb-configure-posting-styles (cdr recs))
@@ -767,7 +767,6 @@ search."
;; remove non-tag contents from the query string, and then make a
;; new call to `org-make-tags-matcher'.
(interactive)
- (require 'gnorb-bbdb)
(let (recs)
(cond ((and
(and (eq major-mode 'org-agenda-mode)
@@ -824,7 +823,8 @@ search."
(when (called-interactively-p 'any)
(message "No relevant BBDB records")))))
-(add-hook 'org-agenda-finalize-hook 'gnorb-org-popup-bbdb)
+(if (featurep 'gnorb-bbdb)
+ (add-hook 'org-agenda-finalize-hook 'gnorb-org-popup-bbdb))
;;; Groups from the gnorb gnus server backend
diff --git a/lisp/gnorb.el b/lisp/gnorb.el
index 6304ec6..d972ee8 100644
--- a/lisp/gnorb.el
+++ b/lisp/gnorb.el
@@ -27,8 +27,8 @@
(require 'gnorb-utils)
(require 'nngnorb)
(require 'gnorb-gnus)
-(require 'gnorb-org)
(require 'gnorb-bbdb)
+(require 'gnorb-org)
(provide 'gnorb)
;;; gnorb.el ends here
- [elpa] externals/gnorb de3a512 244/449: Releasing version 1, (continued)
- [elpa] externals/gnorb de3a512 244/449: Releasing version 1, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4b8a6da 255/449: New function for removing message/heading association, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb aaf8556 261/449: Be a good citizen about the cl package, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb de3182e 263/449: Shift location of org-reveal during trigger process, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6246244 106/449: Hinting for potentially-relevant incoming messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a79cf72 126/449: Unwrap "if" from around function, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0255247 133/449: Only notice records on message receipt, not sending, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b70d845 168/449: Handle nil group values in registry entries, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 880afd6 158/449: Register sent messages so we can view them later, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 25aa0f1 173/449: Use a marker in conjunction with window conf, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e1129e9 170/449: Fix problems when BBDB is not present and gnorb-bbdb is not loaded.,
Stefan Monnier <=
- [elpa] externals/gnorb 5f96b98 167/449: Stupid typo, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9a2f747 175/449: Don't hint messages in nnir or virtual summaries, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ec44a6d 182/449: Continue shifting candidate finding to the registry, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 927e401 184/449: New function for restoring window layout, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a352586 189/449: Improve lookups for entries with unknown groups, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 81fed4b 193/449: Helper function for transitioning to the new system, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d7327b5 192/449: The big switch! Rely only on registry for tracking, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7ba1786 196/449: Use gnorb-gnus-message-info for incoming and outgoing, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0cb4d1a 201/449: Docstring for gnorb-scan-links, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5c9ef6e 203/449: Don't create Org IDs when scanning for mails, Stefan Monnier, 2020/11/27