emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 172/287: Make this a emacs 24.4 autoload only


From: Matthew Fidler
Subject: [elpa] 172/287: Make this a emacs 24.4 autoload only
Date: Wed, 02 Jul 2014 14:45:43 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit 285dc264064da090d42fb3afb0891cc20ab12399
Author: Matthew L. Fidler <address@hidden>
Date:   Thu Jun 19 07:44:59 2014 -0500

    Make this a emacs 24.4 autoload only
---
 ergoemacs-test.el |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ergoemacs-test.el b/ergoemacs-test.el
index e994478..b209d81 100644
--- a/ergoemacs-test.el
+++ b/ergoemacs-test.el
@@ -1066,7 +1066,10 @@ Selected mark would not be cleared after paste."
 ;;; Not sure why `cl-gensym' is called, probably from `ert'?
 ;; Suppress: "the function `cl-gensym' might not be defined at
 ;; runtime" warning.
-(autoload 'cl-gensym "cl-macs.el")
+(cond
+ ((and (<= 24 emacs-major-version)
+       (<= 4 emacs-minor-version))
+  (autoload 'cl-gensym "cl-macs.el")))
 (provide 'ergoemacs-test)
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;; ergoemacs-test.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]