]> git.eshelyaron.com Git - emacs.git/commitdiff
(ldap-search-internal): Handle <file://...> in results.
authorRichard M. Stallman <rms@gnu.org>
Fri, 28 Dec 2001 06:29:37 +0000 (06:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 28 Dec 2001 06:29:37 +0000 (06:29 +0000)
lisp/ChangeLog
lisp/net/ldap.el

index 7b5430304ab455145347fab79375418b254a2461..e5f85d0afe9974279de4dd2e9ff28462971735e8 100644 (file)
@@ -1,5 +1,7 @@
 2001-12-28  Richard M. Stallman  <rms@gnu.org>
 
+       * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
+
        * simple.el (line-move-invisible): New subroutine.
        (line-move-to-column): New subroutine--smarter about advancing over
        invisible parts of a line, or lines, but only as long as hpos grows.
index ddbdfa0b1ef181fa2a6883a6c847a0654ae8acc1..ee8b3ba457785b9139bd03572686ed4c299b93aa 100644 (file)
@@ -584,9 +584,9 @@ an alist of attribute/value pairs."
                                               (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)