aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-05-26 22:43:14 +0000
committerDave Love2002-05-26 22:43:14 +0000
commit0855c6cdae8e428bfee071aaa97afb770ce6d6bb (patch)
tree9a2a598a8d144f0361bb652f38b4b47c0aa372df
parentb4bb307b630f38c7439d83efd029ca37b4bffa10 (diff)
downloademacs-0855c6cdae8e428bfee071aaa97afb770ce6d6bb.tar.gz
emacs-0855c6cdae8e428bfee071aaa97afb770ce6d6bb.zip
(describe-language-environment): Use
coding-system-aliases. (prefer-coding-system): Doc fix.
-rw-r--r--lisp/international/mule-cmds.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 4880d9cb1d0..437defcd83d 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -338,9 +338,7 @@ system, and Emacs automatically sets the default to that coding system at
338startup. 338startup.
339 339
340A coding system that requires automatic detection of text 340A coding system that requires automatic detection of text
341encoding (e.g. undecided, unix) can't be preferred. 341encoding (e.g. undecided, unix) can't be preferred.."
342
343See also `coding-category-list' and `coding-system-category'."
344 (interactive "zPrefer coding system: ") 342 (interactive "zPrefer coding system: ")
345 (if (not (and coding-system (coding-system-p coding-system))) 343 (if (not (and coding-system (coding-system-p coding-system)))
346 (error "Invalid coding system `%s'" coding-system)) 344 (error "Invalid coding system `%s'" coding-system))
@@ -434,6 +432,7 @@ If STRING contains no multibyte characters, return a list of a single
434element `undecided'." 432element `undecided'."
435 (find-coding-systems-region string nil)) 433 (find-coding-systems-region string nil))
436 434
435;; Fixme: re-write
437(defun find-coding-systems-for-charsets (charsets) 436(defun find-coding-systems-for-charsets (charsets)
438 "Return a list of proper coding systems to encode characters of CHARSETS. 437 "Return a list of proper coding systems to encode characters of CHARSETS.
439CHARSETS is a list of character sets." 438CHARSETS is a list of character sets."
@@ -1136,6 +1135,8 @@ and enable that one. The default is the most recent input method specified
1136 (when (interactive-p) 1135 (when (interactive-p)
1137 (customize-mark-as-set 'default-input-method))))))) 1136 (customize-mark-as-set 'default-input-method)))))))
1138 1137
1138(eval-when-compile (autoload 'help-buffer "help-mode"))
1139
1139(defun describe-input-method (input-method) 1140(defun describe-input-method (input-method)
1140 "Describe input method INPUT-METHOD." 1141 "Describe input method INPUT-METHOD."
1141 (interactive 1142 (interactive
@@ -1601,8 +1602,7 @@ of buffer-file-coding-system set by this function."
1601 "' in mode line):\n\t" 1602 "' in mode line):\n\t"
1602 (coding-system-doc-string (car l)) 1603 (coding-system-doc-string (car l))
1603 "\n") 1604 "\n")
1604 (let ((aliases (coding-system-get (car l) 1605 (let ((aliases (coding-system-aliases (car l))))
1605 'alias-coding-systems)))
1606 (when aliases 1606 (when aliases
1607 (insert "\t(alias:") 1607 (insert "\t(alias:")
1608 (while aliases 1608 (while aliases