[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type fun
From: |
Richard Stallman |
Subject: |
Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions |
Date: |
Sun, 04 Apr 2010 13:36:56 -0400 |
I don't expect this to be the
most common use case, so if we don't want to leave in/create more
turn-off-minor-mode functions, we could perhaps provide explicit
instructions for a turn-off in hook form in the documentation?
If advising people to write
(add-hook hook (lambda () (foo-minor-mode 0))))
is not convenient enough, we could provide this function:
(defun hook-turn-off-minor-mode (hook minor-mode)
(add-hook hook `(lambda () (,minor-mode 0))))
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, (continued)
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Stefan Monnier, 2010/04/04
- Obsoleting end-user-functions [was: turn-on-* type functions], Stephen J. Turnbull, 2010/04/04
- Re: Obsoleting end-user-functions [was: turn-on-* type functions], Daniel Colascione, 2010/04/04
- RE: Obsoleting end-user-functions [was: turn-on-* type functions], Drew Adams, 2010/04/05
- RE: Obsoleting end-user-functions [was: turn-on-* type functions], Stephen J. Turnbull, 2010/04/06
- Re: Obsoleting end-user-functions, Stefan Monnier, 2010/04/05
- Re: Obsoleting end-user-functions, Davis Herring, 2010/04/05
- Re: Obsoleting end-user-functions, Chad Brown, 2010/04/05
- Re: Obsoleting end-user-functions, Stephen J. Turnbull, 2010/04/06
- Re: Obsoleting end-user-functions, Richard Stallman, 2010/04/06
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions,
Richard Stallman <=
Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Dan Nicolaescu, 2010/04/03
Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Stefan Monnier, 2010/04/03