Commit 375e0047 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(prefer-coding-system): Fix doc, prompt.

parent 4cb46737
......@@ -320,7 +320,8 @@ or one is an alias of the other."
(defun prefer-coding-system (coding-system)
(interactive "zPrefered coding system: ")
"Add CODING-SYSTEM at the front of the priority list for automatic detection."
(interactive "zPrefer coding system: ")
(if (not (and coding-system (coding-system-p coding-system)))
(error "Invalid coding system `%s'" coding-system))
(let ((coding-category (coding-system-category coding-system))
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