Function: mh-folder-line-matches-show-buffer-p

mh-folder-line-matches-show-buffer-p is a byte-compiled function defined in mh-alias.el.gz.

Signature

(mh-folder-line-matches-show-buffer-p)

Documentation

Return t if the message under point in folder-mode is in the show buffer.

Return nil in any other circumstance (no message under point, no show buffer, the message in the show buffer doesn't match.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-alias.el.gz
(defun mh-folder-line-matches-show-buffer-p ()
  "Return t if the message under point in folder-mode is in the show buffer.
Return nil in any other circumstance (no message under point, no
show buffer, the message in the show buffer doesn't match."
  (and (eq major-mode 'mh-folder-mode)
       (mh-get-msg-num nil)
       mh-show-buffer
       (get-buffer mh-show-buffer)
       (buffer-file-name (get-buffer mh-show-buffer))
       (string-match ".*/\\([0-9]+\\)$"
                     (buffer-file-name (get-buffer mh-show-buffer)))
       (string-equal
        (match-string 1 (buffer-file-name (get-buffer mh-show-buffer)))
        (int-to-string (mh-get-msg-num nil)))))