mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
(mail-file-babyl-p): Function moved from rmail.el and renamed.
This commit is contained in:
parent
ecf1f70009
commit
996792b150
@ -38,6 +38,17 @@
|
||||
Otherwise, (the default) use a smaller, somewhat faster, and
|
||||
often correct parser.")
|
||||
|
||||
;; Returns t if file FILE is an Rmail file.
|
||||
;;;###autoload
|
||||
(defun mail-file-babyl-p (file)
|
||||
(let ((buf (generate-new-buffer " *rmail-file-p*")))
|
||||
(unwind-protect
|
||||
(save-excursion
|
||||
(set-buffer buf)
|
||||
(insert-file-contents file nil 0 100)
|
||||
(looking-at "BABYL OPTIONS:"))
|
||||
(kill-buffer buf))))
|
||||
|
||||
(defun mail-string-delete (string start end)
|
||||
"Returns a string containing all of STRING except the part
|
||||
from START (inclusive) to END (exclusive)."
|
||||
|
Loading…
Reference in New Issue
Block a user