emacs-diffs
[Top][All Lists]
Advanced

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

master 7e60246ab3: Move required options out of ldap-ldapsearch-args


From: Filipp Gunbin
Subject: master 7e60246ab3: Move required options out of ldap-ldapsearch-args
Date: Tue, 25 Oct 2022 11:01:08 -0400 (EDT)

branch: master
commit 7e60246ab3cb7a3c40ca48d8ea9c107f00a6aea6
Author: Filipp Gunbin <fgunbin@fastmail.fm>
Commit: Filipp Gunbin <fgunbin@fastmail.fm>

    Move required options out of ldap-ldapsearch-args
    
    * lisp/net/ldap.el (ldap-ldapsearch-args, ldap-search-internal): Move
    "-LLL" and "-tt" options as they're required for the code to work
    properly.
---
 lisp/net/ldap.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index ccad8c4edb..de553468b1 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -156,7 +156,7 @@ Valid properties include:
   "The name of the ldapsearch command line program."
   :type '(string :tag "`ldapsearch' Program"))
 
-(defcustom ldap-ldapsearch-args '("-LLL" "-tt")
+(defcustom ldap-ldapsearch-args nil
   "A list of additional arguments to pass to `ldapsearch'."
   :type '(repeat :tag "`ldapsearch' Arguments"
                 (string :tag "Argument")))
@@ -609,7 +609,8 @@ an alist of attribute/value pairs."
        (sizelimit (plist-get search-plist 'sizelimit))
        (withdn (plist-get search-plist 'withdn))
        (numres 0)
-       arglist dn name value record result)
+        (arglist (list "-LLL" "-tt"))
+       dn name value record result)
     (if (or (null filter)
            (equal "" filter))
        (error "No search filter"))



reply via email to

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