Function: mh-picon-generate-path

mh-picon-generate-path is a byte-compiled function defined in mh-xface.el.gz.

Signature

(mh-picon-generate-path HOST-LIST USER DIRECTORY)

Documentation

Generate the image file path.

HOST-LIST is the parsed host address of the email address, USER the username and DIRECTORY is the directory relative to which the path is generated.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-xface.el.gz
(defun mh-picon-generate-path (host-list user directory)
  "Generate the image file path.
HOST-LIST is the parsed host address of the email address, USER
the username and DIRECTORY is the directory relative to which the
path is generated."
  (cl-loop with acc = ""
           for elem in host-list
           do (setq acc (format "%s/%s" elem acc))
           finally return (format "%s/%s%s" directory acc user)))