changeset 26201:097072728e80

(input-mode-8-bit): New defcustom.
author Dave Love <fx@gnu.org>
date Tue, 26 Oct 1999 16:27:51 +0000
parents 798aeda17389
children adecdf8bb61f
files lisp/simple.el
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue Oct 26 15:56:15 1999 +0000
+++ b/lisp/simple.el	Tue Oct 26 16:27:51 1999 +0000
@@ -3491,6 +3491,21 @@
 	 (bury-buffer))))
 
 (define-key global-map "\e\e\e" 'keyboard-escape-quit)
+
+(defcustom input-mode-8-bit nil
+  "Toggle whether 8-bit keyboard input is accepted.
+This may be useful for inputting non-ASCII characters if your keyboard
+can generate them.
+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
+  :version "21.1"
+  :link '(custom-manual "Single-Byte European Support")
+  :group 'keyboard)
 
 (defcustom mail-user-agent 'sendmail-user-agent
   "*Your preference for a mail composition package.