1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(input-mode-8-bit): Fix the customization.

This commit is contained in:
Dave Love 1999-11-18 23:49:29 +00:00
parent 719f38ac95
commit 618bd252b5
2 changed files with 11 additions and 4 deletions

View file

@ -3501,17 +3501,20 @@ or go back to just one window (by deleting all but the selected window)."
(define-key global-map "\e\e\e" 'keyboard-escape-quit)
(defcustom input-mode-8-bit nil
"Toggle whether 8-bit keyboard input is accepted.
(defcustom input-mode-8-bit t
"Control acceptance of 8-bit keyboard input.
This may be useful for inputting non-ASCII characters if your keyboard
can generate them.
can generate them. It is not necessary to change this under a window
system which can distinguish 8-bit characters and Meta keys.
Setting this variable directly does not take effect;
use either M-x customize or the function `set-input-mode'."
:set (lambda (symbol value)
(let ((mode (current-input-mode)))
(set-input-mode (nth 0 mode) (nth 1 mode) value)))
:initialize 'custom-initialize-default
:type 'boolean
:type '(choice (const :tag "8-bit input for a Meta key" t)
(const :tag "Direct 8-bit character input" 0)
(const :tag "Assume top bit is parity and ignore" nil))
:version "21.1"
:link '(custom-manual "Single-Byte European Support")
:group 'keyboard)