[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 86fa893 318/449: Fix up all cl-lib calls
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 86fa893 318/449: Fix up all cl-lib calls |
Date: |
Fri, 27 Nov 2020 23:16:03 -0500 (EST) |
branch: externals/gnorb
commit 86fa8937eb2cb3f6f4e382f176826e6b99a4d2f3
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Fix up all cl-lib calls
* gnorb.el: Add Package-Requires header for cl-lib.
* gnorb-registry.el: Require cl-lib and use its names.
* gnorb-bbdb.el: Use cl-lib names.
---
gnorb-bbdb.el | 8 ++++----
gnorb-registry.el | 7 ++++---
gnorb.el | 1 +
3 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/gnorb-bbdb.el b/gnorb-bbdb.el
index bf5bd03..2785e12 100644
--- a/gnorb-bbdb.el
+++ b/gnorb-bbdb.el
@@ -107,7 +107,7 @@ mentioned in the docstring of `format-time-string', which
see."
Defaults to org-link."
:group 'gnorb-bbdb)
-(defstruct gnorb-bbdb-link
+(cl-defstruct gnorb-bbdb-link
subject date group id)
(defcustom gnorb-bbdb-posting-styles nil
@@ -419,14 +419,14 @@ a prefix arg and \"*\", the prefix arg must come first."
gnorb-gnus-mail-search-backends)
(error "No search backend specified")))
(search-string
- (funcall (second backend)
+ (funcall (cl-second backend)
(cl-mapcan 'bbdb-record-mail records))))
(when (equal current-prefix-arg '(4))
(setq search-string
(read-from-minibuffer
(format "%s search string: " (first backend)) search-string)))
- (funcall (third backend) search-string)
- (delete-other-windows)))
+ (funcall (cl-third backend) search-string)
+ (delete-other-windows)))
;;;###autoload
(defun gnorb-bbdb-cite-contact (rec)
diff --git a/gnorb-registry.el b/gnorb-registry.el
index 71e86cf..bcd5adc 100644
--- a/gnorb-registry.el
+++ b/gnorb-registry.el
@@ -50,6 +50,7 @@
(require 'gnus-registry)
(require 'gnorb-utils)
+(require 'cl-lib)
(defgroup gnorb-registry nil
"Gnorb's use of the Gnus registry."
@@ -287,8 +288,8 @@ your Org files."
'gnus))
(dolist (l (plist-get links :gnus))
(gnorb-registry-make-entry
- (second (split-string l "#")) nil nil
- id (first (split-string l "#"))))
+ (cl-second (split-string l "#")) nil nil
+ id (cl-first (split-string l "#"))))
(dolist (p props)
(setq id )
(gnorb-registry-make-entry p nil nil id nil)
@@ -297,7 +298,7 @@ your Org files."
;; it.
(unless (gnus-registry-get-id-key p 'group)
(gnorb-msg-id-to-group p))
- (incf count)))))
+ (cl-incf count)))))
gnorb-org-find-candidates-match
'agenda 'archive 'comment)
(message "Collecting all relevant Org headings, this could take a while...
done")
diff --git a/gnorb.el b/gnorb.el
index ff94dee..6dd4b0b 100644
--- a/gnorb.el
+++ b/gnorb.el
@@ -3,6 +3,7 @@
;; Copyright (C) 2014 Free Software Foundation, Inc.
;; Version: 1.0.1
+;; Package-Requires: ((cl-lib "0.5"))
;; Maintainer: Eric Abrahamsen <eric@ericabrahamsen.net>
- [elpa] externals/gnorb 819b1e5 293/449: Suggest binding gnorb-org-view in Org Agenda, (continued)
- [elpa] externals/gnorb 819b1e5 293/449: Suggest binding gnorb-org-view in Org Agenda, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c13f4df 301/449: Better check for capture cleanup, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 13bb840 302/449: Hint which heading will be triggered, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4f99dd7 304/449: Handle conditions where `registry-search' returns nil, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5897188 305/449: Capture to child/sibling is done, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b951675 303/449: Merge capture-to-child branch, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b0fe9ae 306/449: New command `gnorb-gnus-quick-reply', Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ce764a5 307/449: fixup with new quick reply command, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb acb91c5 315/449: Fix doc error, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4d3de61 316/449: Various documentation improvements, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 86fa893 318/449: Fix up all cl-lib calls,
Stefan Monnier <=
- [elpa] externals/gnorb 51439a1 323/449: Look in drawers for potential mail links, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 209b938 324/449: Attach outgoing message check to message-sent-hook, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2660934 333/449: gnorb-bbdb.el: Use the right catch tag name, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb eaaea81 335/449: Link extraction should return links in same order, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 87137be 330/449: gnorb-bbdb.el: Fix matching of posting styles, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9c918ab 337/449: Bump version to 1.1.2, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2086922 342/449: Fixes to previous commit, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f3acab5 345/449: Handle forwarding from gnorb-mode summary buffers, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f963a32 346/449: Don't ignore entries with no sender key, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 42ba9d9 347/449: Change the gnus hook to use for hinting, Stefan Monnier, 2020/11/27