James <[email protected]> writes:
>
> let the user choose to turn it on
> by clicking a little checkbox in customize.

This sounds good to me.  I notice there's an existing
`enable-paredit-mode' which could be used and show a docstring in the
hook customize.

    (autoload 'enable-paredit-mode "paredit"
      "Turn on pseudo-structural editing of Lisp code." t)
    (custom-add-option 'lisp-mode-hook       'enable-paredit-mode)
    (custom-add-option 'scheme-mode-hook     'enable-paredit-mode)
    (custom-add-option 'emacs-lisp-mode-hook 'enable-paredit-mode)

`enable-paredit-mode' is flagged as depreciated, but it can helpfully be
kept for such use in a hook, irrespective whether it's a custom option
or not.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to