Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
996792b1
Commit
996792b1
authored
Sep 21, 1995
by
Richard M. Stallman
Browse files
(mail-file-babyl-p): Function moved from rmail.el and renamed.
parent
ecf1f700
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
lisp/mail/mail-utils.el
lisp/mail/mail-utils.el
+11
-0
No files found.
lisp/mail/mail-utils.el
View file @
996792b1
...
...
@@ -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
)
.
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment