Mercurial > emacs
comparison lisp/woman.el @ 102439:9204501d759c
(woman-parse-colon-path): Return a list even if there's only one directory
in PATHS.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 07 Mar 2009 14:35:53 +0000 |
parents | a9dc0e7c3f2b |
children | 9bfb1c4c4223 |
comparison
equal
deleted
inserted
replaced
102438:c9e4d48261ce | 102439:9204501d759c |
---|---|
466 (list x) | 466 (list x) |
467 (mapcar 'woman-Cyg-to-Win (woman-parse-man.conf)))) | 467 (mapcar 'woman-Cyg-to-Win (woman-parse-man.conf)))) |
468 (parse-colon-path paths))) | 468 (parse-colon-path paths))) |
469 ((string-match "\\`[a-zA-Z]:" paths) | 469 ((string-match "\\`[a-zA-Z]:" paths) |
470 ;; Assume single DOS-style path... | 470 ;; Assume single DOS-style path... |
471 paths) | 471 (list paths)) |
472 (t | 472 (t |
473 ;; Assume UNIX/Cygwin-style path-list... | 473 ;; Assume UNIX/Cygwin-style path-list... |
474 (woman-mapcan ; splice list into list | 474 (woman-mapcan ; splice list into list |
475 (lambda (x) | 475 (lambda (x) |
476 (mapcar 'woman-Cyg-to-Win | 476 (mapcar 'woman-Cyg-to-Win |