summaryrefslogtreecommitdiff
path: root/lisp/net/eudc.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-04-10 01:50:22 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-04-10 01:50:22 -0400
commit26f8a384978c6b1d1db1c6b091fa1e51d9ff5a5b (patch)
tree1009712ed76be8785abbfa2cfb6ddc9359b46ced /lisp/net/eudc.el
parent519489089197ce2d41c72e20773438d415ce8564 (diff)
downloademacs-26f8a384978c6b1d1db1c6b091fa1e51d9ff5a5b.tar.gz
cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
* lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize use of c[ad]+r", so as to keep the "cl-" prefix on all cl-lib definitions.
Diffstat (limited to 'lisp/net/eudc.el')
-rw-r--r--lisp/net/eudc.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/net/eudc.el b/lisp/net/eudc.el
index ada9eae813e..66dbc65da9c 100644
--- a/lisp/net/eudc.el
+++ b/lisp/net/eudc.el
@@ -47,6 +47,8 @@
(require 'wid-edit)
+(eval-when-compile (require 'cl-lib))
+
(eval-and-compile
(if (not (fboundp 'make-overlay))
(require 'overlay)))
@@ -698,7 +700,7 @@ If ERROR is non-nil, report an error if there is none."
(let ((result (eudc-query (list (cons 'name name)) '(email)))
email)
(if (null (cdr result))
- (setq email (cdaar result))
+ (setq email (cl-cdaar result))
(error "Multiple match--use the query form"))
(if error
(if email
@@ -716,7 +718,7 @@ If ERROR is non-nil, report an error if there is none."
(let ((result (eudc-query (list (cons 'name name)) '(phone)))
phone)
(if (null (cdr result))
- (setq phone (cdaar result))
+ (setq phone (cl-cdaar result))
(error "Multiple match--use the query form"))
(if error
(if phone