Function: rfc2047-narrow-to-field

rfc2047-narrow-to-field is a byte-compiled function defined in rfc2047.el.gz.

Signature

(rfc2047-narrow-to-field)

Documentation

Narrow the buffer to the header on the current line.

Aliases

mail-header-narrow-to-field

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rfc2047.el.gz
(defun rfc2047-narrow-to-field ()
  "Narrow the buffer to the header on the current line."
  (beginning-of-line)
  (narrow-to-region
   (point)
   (progn
     (forward-line 1)
     (if (re-search-forward "^[^ \n\t]" nil t)
         (line-beginning-position)
       (point-max))))
  (goto-char (point-min)))