Function: hmail:composing-dir

hmail:composing-dir is a byte-compiled function defined in hmail.el.

Signature

(hmail:composing-dir KEY-SRC)

Documentation

If button KEY-SRC is a mail/news composure buffer, return composure directory.

Otherwise, return nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmail.el
(defun hmail:composing-dir (key-src)
  "If button KEY-SRC is a mail/news composure buffer, return composure directory.
Otherwise, return nil."
  (save-excursion
    (and (bufferp key-src)
	 (progn (set-buffer key-src)
		(or (eq major-mode hmail:composer)
		    (eq major-mode hnews:composer)))
	 default-directory)))