aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorAndreas Schwab2011-01-09 20:34:19 +0100
committerAndreas Schwab2011-01-09 20:34:19 +0100
commitc8043a225f70715109eb40a5ab178a97233670ee (patch)
tree011005aedb3989bd3a2f025830d458836893fd44 /lisp/net
parent35e0ebb459c48cb66d184be88ba392c5b5d11066 (diff)
downloademacs-c8043a225f70715109eb40a5ab178a97233670ee.tar.gz
emacs-c8043a225f70715109eb40a5ab178a97233670ee.zip
* lisp/net/ldap.el (ldap-search-internal): Don't use eval.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/ldap.el12
1 files changed, 4 insertions, 8 deletions
diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index 066dbd8bea0..88284af06f0 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -1,7 +1,7 @@
1;;; ldap.el --- client interface to LDAP for Emacs 1;;; ldap.el --- client interface to LDAP for Emacs
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4;; 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 4;; 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -556,13 +556,9 @@ an alist of attribute/value pairs."
556 (if (and sizelimit 556 (if (and sizelimit
557 (not (equal "" sizelimit))) 557 (not (equal "" sizelimit)))
558 (setq arglist (nconc arglist (list (format "-z%s" sizelimit))))) 558 (setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
559 (eval `(call-process ldap-ldapsearch-prog 559 (apply #'call-process ldap-ldapsearch-prog
560 nil 560 nil buf nil
561 buf 561 (append arglist ldap-ldapsearch-args filter))
562 nil
563 ,@arglist
564 ,@ldap-ldapsearch-args
565 ,@filter))
566 (insert "\n") 562 (insert "\n")
567 (goto-char (point-min)) 563 (goto-char (point-min))
568 564