Commit 61355f1c authored by Dave Love's avatar Dave Love
Browse files

(double-mode): Customize the variable.

parent 55115f09
......@@ -157,9 +157,19 @@ but not `C-u X' or `ESC X' since the X is not the prefix key."
;;; Mode
(defvar double-mode nil)
;; Indicator for the double mode.
(make-variable-buffer-local 'double-mode)
(defcustom double-mode nil
"Toggle Double mode.
Setting this variable directly does not take effect;
use either \\[customize] or the function `double-mode'."
:set (lambda (symbol value)
(double-mode (if value 1 0)))
:initialize 'custom-initialize-default
:link '(emacs-commentary-link "double")
:type 'boolean
:require 'double
:group 'double)
(make-variable-buffer-local 'double-mode)
(or (assq 'double-mode minor-mode-alist)
(setq minor-mode-alist
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