Commit cb92c150 authored by Glenn Morris's avatar Glenn Morris
Browse files

(flyspell-use-meta-tab): Add a custom :set function. (Bug#2429)

parent 2c7d1565
2009-02-24 Glenn Morris <rgm@gnu.org>
* textmodes/flyspell.el (flyspell-use-meta-tab): Add a custom
:set function. (Bug#2429)
* eshell/esh-util.el (eshell-parse-ange-ls): Define `name' before
potential use.
......
......@@ -262,10 +262,17 @@ If `flyspell-large-region' is nil, all regions are treated as small."
:group 'flyspell
:type '(choice string (const nil)))
(defvar flyspell-mode-map)
(defcustom flyspell-use-meta-tab t
"Non-nil means that flyspell uses M-TAB to correct word."
:group 'flyspell
:type 'boolean)
:type 'boolean
:initialize 'custom-initialize-default
:set (lambda (sym val)
(define-key flyspell-mode-map "\M-\t"
(if (set sym val)
'flyspell-auto-correct-word))))
(defcustom flyspell-auto-correct-binding
[(control ?\;)]
......
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