mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
Remove bits redundant with define-minor-mode.
This commit is contained in:
parent
3b6542bab5
commit
85c766e9ed
@ -1,3 +1,7 @@
|
||||
2000-10-23 Dave Love <fx@gnu.org>
|
||||
|
||||
* textmodes/refill.el: Remove bits redundant with define-minor-mode.
|
||||
|
||||
2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
|
||||
|
||||
[the following changes fix a bug where `define-minor-mode' didn't
|
||||
|
@ -119,15 +119,6 @@ complex processing.")
|
||||
(t (refill-fill-paragraph nil)))
|
||||
(setq refill-doit nil)))
|
||||
|
||||
(defvar refill-mode nil
|
||||
"Non-nil if Refill mode is active. Use `refill-mode' to toggle it.")
|
||||
(make-variable-buffer-local 'refill-mode)
|
||||
|
||||
(defvar refill-mode-hook nil
|
||||
"Normal hook run by function `refill-mode'.")
|
||||
|
||||
(add-to-list 'minor-mode-alist '(refill-mode " Refill"))
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode refill-mode
|
||||
"Toggle Refill minor mode.
|
||||
|
Loading…
Reference in New Issue
Block a user