Commit 77e94796 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(encoded-kbd-mode): Fix typo in doc-string.

(encoded-kbd-set-coding-system): Deleted.
parent df100398
......@@ -227,7 +227,7 @@ The following key sequence may cause multilingual text insertion."
;;;###autoload
(defun encoded-kbd-mode (&optional arg)
"Toggle Encoded-kbd minor mode.
With arg, turn Keyboard-kbd mode on in and only if arg is positive.
With arg, turn Keyboard-kbd mode on if and only if arg is positive.
When in Encoded-kbd mode, a text sent from a terminal keyboard
is accepted as a multilingual text encoded in a coding system
......@@ -284,18 +284,4 @@ set by the command `encoded-kbd-set-coding-system'"
(setq current-input-method nil))
(force-mode-line-update))
;;;###autoload
(defun encoded-kbd-set-coding-system (coding-system)
"Activate Encoded-kbd mode appropriately for a terminal using CODING-SYSTEM.
If you specify nil for CODING-SYSTEM, Encoded-kbd mode is toggled off."
(interactive "zCoding system: ")
(if window-system
(error "Should run emacs on an ordinary terminal"))
(if (check-coding-system coding-system)
(progn
(set-keyboard-coding-system coding-system)
(encoded-kbd-mode 1))
(set-keyboard-coding-system nil)
(encoded-kbd-mode 0)))
;;; encoded-kb.el ends here
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