aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net/ldap.el
diff options
context:
space:
mode:
authorPavel Janík <[email protected]>2002-05-12 16:42:19 +0000
committerPavel Janík <[email protected]>2002-05-12 16:42:19 +0000
commit74d40d47e8d7f8e20b7e90c617b360edd5d1b963 (patch)
treeae81dd0203296935433d53ca8ef0adb3af2436c3 /lisp/net/ldap.el
parentd7d563e3faef07aa17da53869bbc5c5868c3c0ef (diff)
(ldap-search-internal): Unfold folded lines before parsing.
Diffstat (limited to 'lisp/net/ldap.el')
-rw-r--r--lisp/net/ldap.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index 03923eb411..d539164e9f 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -562,6 +562,10 @@ an alist of attribute/value pairs."
(insert "\n")
(goto-char (point-min))
+ (while (re-search-forward "[\t\n\f]+ " nil t)
+ (replace-match "" nil nil))
+ (goto-char (point-min))
+
(if (looking-at "usage")
(error "Incorrect ldapsearch invocation")
(message "Parsing results... ")