Discussion:
[gnus git] branch master updated: m0-11-44-g0fe9cac =1= parse-time.el: Require cl when compiling
Katsumi
2014-09-27 13:03:14 UTC
Permalink
via 0fe9cacd4c2b5cc8f12f994655f90b632be452ee (commit)
from 1e2f84e325c24a2d1c4f08074bca23d235ff9287 (commit)


- Log -----------------------------------------------------------------
commit 0fe9cacd4c2b5cc8f12f994655f90b632be452ee
Author: Katsumi Yamaoka <***@jpl.org>
Date: Sat Sep 27 13:03:05 2014 +0000

parse-time.el: Require cl when compiling

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e238447..23eed71 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-27 Katsumi Yamaoka <***@jpl.org>
+
+ * parse-time.el: Require cl when compiling.
+
2014-09-26 Katsumi Yamaoka <***@jpl.org>

Use cl-lib as much as possible following the 2014-09-26 change
diff --git a/lisp/parse-time.el b/lisp/parse-time.el
index 392aff2..bbbf3d7 100644
--- a/lisp/parse-time.el
+++ b/lisp/parse-time.el
@@ -35,12 +35,10 @@
;;; Code:

(eval-and-compile
- (ignore-errors (require 'cl-lib))
- (if (featurep 'cl-lib)
- ;; Emacs >=24
- (defalias 'parse-time-incf 'cl-incf)
- (require 'cl)
- (defalias 'parse-time-incf 'incf)))
+ (ignore-errors (require 'cl-lib)))
+(eval-when-compile
+ (require 'cl) ;and ah ain't kiddin' 'bout it
+ (defalias 'parse-time-incf (if (featurep 'cl-lib) 'cl-incf 'incf)))

;; Byte-compiler warnings
(defvar parse-time-elt)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
lisp/ChangeLog | 4 ++++
lisp/parse-time.el | 10 ++++------
2 files changed, 8 insertions(+), 6 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
--
Gnus Project
Loading...