APPROVE COMMIT
NOTE: This patch has been committed
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1535903492 -3600
# Sun Sep 02 16:51:32 2018 +0100
# Node ID af7c95ef33e60cffe3fbcccf784e7507769b6c56
# Parent 78dbcd4ff48226e3e9aa3a959b384f19aa615c68
Don't require the ldap feature when byte-compiling, EUDC
2018-09-02 Aidan Kehoe <kehoea(a)parhasard.net>
* eudcb-ldap.el:
Only #'require ldap at runtime, there's no need for it when
compiling.
diff -r 78dbcd4ff482 -r af7c95ef33e6 ChangeLog
--- a/ChangeLog Thu May 15 21:02:25 2014 +0200
+++ b/ChangeLog Sun Sep 02 16:51:32 2018 +0100
@@ -1,3 +1,9 @@
+2018-09-02 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * eudcb-ldap.el:
+ Only #'require ldap at runtime, there's no need for it when
+ compiling.
+
2014-05-15 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.43 released.
diff -r 78dbcd4ff482 -r af7c95ef33e6 eudcb-ldap.el
--- a/eudcb-ldap.el Thu May 15 21:02:25 2014 +0200
+++ b/eudcb-ldap.el Sun Sep 02 16:51:32 2018 +0100
@@ -35,8 +35,8 @@
;;; Code:
(require 'eudc)
-(require 'ldap)
-
+;; This syntax lets us require the feature at runtime and not compile time:
+(or (featurep 'ldap) (require 'ldap))
;;{{{ Internal cooking
--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)
Show replies by date