[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 4c6b6f5 190/350: Protect gnus stuff behind eval-af
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 4c6b6f5 190/350: Protect gnus stuff behind eval-after-load |
Date: |
Mon, 14 Aug 2017 11:46:34 -0400 (EDT) |
branch: externals/ebdb
commit 4c6b6f5a775d7daceabe77d0d9b795dd61d75c5f
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Protect gnus stuff behind eval-after-load
Fixes #24
* ebdb-message.el: Don't assume Gnus is loaded.
---
ebdb-message.el | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/ebdb-message.el b/ebdb-message.el
index 2951cdf..6218af5 100644
--- a/ebdb-message.el
+++ b/ebdb-message.el
@@ -102,20 +102,21 @@
;; *EBDB-Message* buffer after the message-mode buffer is created.
;; The gnus window configuration stanza makes sure it's displayed
;; after the message buffer is set up.
-(add-to-list 'gnus-window-to-buffer `(ebdb . ,(ebdb-message-buffer-name)))
-(add-hook 'message-header-setup-hook 'ebdb-mua-auto-update)
-
-(gnus-add-configuration
- '(reply
- (horizontal 1.0
- (message 1.0 point)
- (ebdb 0.4))))
-
-(gnus-add-configuration
- '(reply-yank
- (horizontal 1.0
- (message 1.0 point)
- (ebdb 0.4))))
+(with-eval-after-load 'gnus-win
+ (add-to-list 'gnus-window-to-buffer `(ebdb . ,(ebdb-message-buffer-name)))
+ (add-hook 'message-header-setup-hook 'ebdb-mua-auto-update)
+
+ (gnus-add-configuration
+ '(reply
+ (horizontal 1.0
+ (message 1.0 point)
+ (ebdb 0.4))))
+
+ (gnus-add-configuration
+ '(reply-yank
+ (horizontal 1.0
+ (message 1.0 point)
+ (ebdb 0.4)))))
(provide 'ebdb-message)
;;; ebdb-message.el ends here
- [elpa] externals/ebdb 279eb56 169/350: Tweaks and additions to manual, (continued)
- [elpa] externals/ebdb 279eb56 169/350: Tweaks and additions to manual, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb eea0abf 165/350: VCard export is good enough, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 64b5e43 170/350: Fix autoloads in ebdb.el, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a968dd3 143/350: First actually-working version of snarfing, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a8e0221 179/350: Missing local variable binding, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e71548d 172/350: Allow for characters before mail addresses when snarfing, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 14b03b5 186/350: Fix menu entry of ebdb-create-record, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 10c1e76 185/350: When replying to messages, start with a populated EBDB buffer, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b9e6034 187/350: Increase base field indentation in *EBDB* buffers, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a19ff0a 168/350: Simplify pop-up window splitting, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4c6b6f5 190/350: Protect gnus stuff behind eval-after-load,
Eric Abrahamsen <=
- [elpa] externals/ebdb e0c3311 177/350: Fix parsing of suffixes in names, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 429cdb0 183/350: Add safety check to ebdb-undisplay-records, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 744c829 182/350: Clear *EBDB-Message* buffers when composing new message, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 8ebba5d 178/350: Very basic test setup, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 927c2ac 188/350: Be more careful about name formatting, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e52e17e 192/350: Pop up EBDB buffer when using company to complete, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb fc1a480 191/350: Fix ebdb-delete-redundant-mails, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 61dcb8c 148/350: Re-initialize database records after reloading, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 8694194 150/350: Use string-match-p for searching on Org tags, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e4c0442 162/350: Fix up actions and EBDB buffer menus, Eric Abrahamsen, 2017/08/14