[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb b228892 04/15: Change interactive behavior of ebdb
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb b228892 04/15: Change interactive behavior of ebdb-mail-aliases |
Date: |
Thu, 22 Mar 2018 00:58:54 -0400 (EDT) |
branch: externals/ebdb
commit b228892213b55202d54903cef85c4fae4bdb3ede
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Change interactive behavior of ebdb-mail-aliases
* ebdb-com.el (ebdb-mail-aliases): Remove optional "noisy" argument,
nothing was using it. Instead use `called-interactively-p' to decide
whether to add a message.
---
ebdb-com.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 4789817..1643ef9 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -2589,7 +2589,7 @@ If we are past `fill-column', wrap at the previous comma."
;;; interface to mail-abbrevs.el.
;;;###autoload
-(defun ebdb-mail-aliases (&optional noisy)
+(defun ebdb-mail-aliases ()
"Add aliases from the database to the global alias table.
\\<ebdb-mode-map>Give records a \"mail alias\" field to define
an alias for that record.
@@ -2600,8 +2600,7 @@ of all of these people.
This function is automatically called each time an EBDB buffer is
created. Alternately, use \\[ebdb-mail-aliases] in an *EBDB*
-buffer to force an update. With optional argument NOISY, print a
-message when updating is done."
+buffer to force an update."
(interactive)
;; Build `mail-aliases' if not yet done.
@@ -2638,7 +2637,8 @@ message when updating is done."
',(mapcar (lambda (r) (ebdb-record-uuid (car r)))
(cdr entry)))))))
- (if noisy (message "EBDB mail alias: rebuilding done")))
+ (when (called-interactively-p 'any)
+ (message "EBDB mail alias: rebuilding done")))
(defun ebdb-mail-abbrev-expand-hook (_alias records)
"Function substituted for `mail-abbrev-expand-hook' when expanding RECORDS.
- [elpa] externals/ebdb updated (2c71ef9 -> 091a744), Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb fea7c5e 01/15: Fix font inheritance of mail addresses, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb b228892 04/15: Change interactive behavior of ebdb-mail-aliases,
Eric Abrahamsen <=
- [elpa] externals/ebdb fff770e 05/15: ebdb-mua defgroup in wrong file, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 78cfb2a 06/15: Pop up EBDB windows before formatting records, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb ff6e919 09/15: Add a basic language field, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 5e42dff 03/15: Forgot to pop-to-buffer to after creating citation buffer, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 8e8c2e1 07/15: Make gnus-message window config stuff customizable, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 76f8d4b 10/15: Make it clear what field type we're prompting for, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 925e0ea 14/15: Remove mail-citation-prefix-regexp from strings to snarf, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 03d432d 02/15: Don't append citation to kill ring in ebdb-cite-records-ebdb, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb d53ddc1 08/15: Use Gnus' window configuration for popping up EBDB buffers, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 41912b9 11/15: Improve check for field existence during snarf collapsing, Eric Abrahamsen, 2018/03/22