Function: reftex-parse-colon-path

reftex-parse-colon-path is a byte-compiled function defined in reftex.el.gz.

Signature

(reftex-parse-colon-path PATH)

Documentation

Like parse-colon-parse, but // or /~ are left alone.

Trailing ! or !! will be converted into // (emTeX convention)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex.el.gz
(defun reftex-parse-colon-path (path)
  "Like parse-colon-parse, but // or /~ are left alone.
Trailing ! or !! will be converted into `//' (emTeX convention)"
  (mapcar
   (lambda (dir)
     (if (string-match "\\(//+\\|/*!+\\)\\'" dir)
         (setq dir (replace-match "//" t t dir)))
     (file-name-as-directory dir))
   (delete "" (split-string path (concat path-separator "+")))))