1 Feb 2012 03:05
/etc/TODO: define-minor-mode & minor-mode-list
William Stevenson <yhvh2000 <at> gmail.com>
2012-02-01 02:05:49 GMT
2012-02-01 02:05:49 GMT
Looking in the TODO file for a beginner item I started with:
** Check what minor modes don't use define-minor-mode and convert them
to use it.
I'm confused about minor-mode-list. Why are some minor-modes added in
the definition even though they are defined with define-minor-mode?
I also found that abbrev-mode remained in the list if it was removed
from this definition.
Also is this todo considered todone?
;; If a minor mode is not defined with define-minor-mode,
;; add it here explicitly.
;; isearch-mode is deliberately excluded, since you should
;; not call it yourself.
(defvar minor-mode-list '(auto-save-mode auto-fill-mode abbrev-mode
overwrite-mode view-mode
hs-minor-mode)
"List of all minor mode functions.")
RSS Feed