changeset 42368:fc1e8b9795d0

(ldap-search-internal): Handle <file://...> in results.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Dec 2001 06:29:21 +0000
parents e79ed5ab7b08
children 8c74ef3ab03f
files lisp/net/ldap.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/ldap.el	Fri Dec 28 05:19:24 2001 +0000
+++ b/lisp/net/ldap.el	Fri Dec 28 06:29:21 2001 +0000
@@ -584,9 +584,9 @@
 					       (end-of-line)
 					       (point))))
 	  (forward-line 1)
-	  (while (looking-at "^\\(\\w*\\)[=:\t ]+\\(.*\\)$")
+	  (while (looking-at "^\\(\\w*\\)[=:\t ]+\\(<[\t ]*file://\\)?\\(.*\\)$")
 	    (setq name (match-string 1)
-		  value (match-string 2))
+		  value (match-string 3))
 	    (save-excursion
 	      (set-buffer bufval)
 	      (erase-buffer)