diff options
| author | Eli Zaretskii | 2009-03-07 14:36:36 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-03-07 14:36:36 +0000 |
| commit | 00460cfd96419cbcd664649ad41d8e01c651f0b5 (patch) | |
| tree | 6fa72670c136d03477d25985e824fb525218526a | |
| parent | 1bf0da029a5bfa7114003224a414d739d7ccc5cb (diff) | |
| download | emacs-00460cfd96419cbcd664649ad41d8e01c651f0b5.tar.gz emacs-00460cfd96419cbcd664649ad41d8e01c651f0b5.zip | |
(woman-parse-colon-path): Return a list even if there's only one directory
in PATHS.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/woman.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e0a1344bd1..4a73baf7260 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-03-07 Eli Zaretskii <eliz@gnu.org> | 1 | 2009-03-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * woman.el (woman-parse-colon-path): Return a list even if there's | ||
| 4 | only one directory in PATHS. | ||
| 5 | |||
| 3 | * man.el (Man-init-defvars) [windows-nt]: Use a special command | 6 | * man.el (Man-init-defvars) [windows-nt]: Use a special command |
| 4 | list. Don't invoke Awk. | 7 | list. Don't invoke Awk. |
| 5 | 8 | ||
diff --git a/lisp/woman.el b/lisp/woman.el index d739f64bf06..5fbb5ef6fdb 100644 --- a/lisp/woman.el +++ b/lisp/woman.el | |||
| @@ -468,7 +468,7 @@ As a special case, if PATHS is nil then replace it by calling | |||
| 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 |