Commit 349b1f31 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(set-rmail-inbox-list): Error if not in Rmail mode.

parent 84d60297
......@@ -30,6 +30,10 @@
You can specify one file name, or several names separated by commas.
If FILE-NAME is empty, remove any existing inbox list."
(interactive "sSet mailbox list to (comma-separated list of filenames): ")
(unless (eq major-mode 'rmail-mode)
(error "set-rmail-inbox-list works only for an Rmail file"))
(let ((names (rmail-parse-file-inboxes))
(standard-output nil))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment