(match-string 1)
(cons (match-string 2)
(match-string 3)))
- manpath))
+ manpath :test #'equal))
manpath))
))
(setq path (cdr path)))
(cl-pushnew (if (consp elem)
(cons (car elem) dir)
dir)
- lst)))
+ lst :test #'equal)))
;; Non-locale-specific has lowest precedence.
- (cl-pushnew elem lst)))))
+ (cl-pushnew elem lst :test #'equal)))))
(defcustom woman-manpath
;; Locales could also be added in woman-expand-directory-path.
(setq path
(split-string (getenv "PATH") path-separator t)))
(setq dir (and (member (car dir) path) (cdr dir))))
- (when dir (cl-pushnew (substitute-in-file-name dir) lst))))
+ (when dir
+ (cl-pushnew (substitute-in-file-name dir) lst :test #'equal))))
(mapcar 'substitute-in-file-name woman-path)))
(defun woman-read-directory-cache ()