From: npostavs@users.sourceforge.net
To: nljlistbox2@gmail.com (N. Jackson)
Cc: 25428@debbugs.gnu.org
Subject: bug#25428: 25.1; Incorrect doc string for `delete-selection-mode'
Date: Wed, 16 Aug 2017 22:24:15 -0400 [thread overview]
Message-ID: <874lt7ylrk.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87efsbrm9u.fsf@moondust.localdomain> (N. Jackson's message of "Wed, 16 Aug 2017 21:55:09 -0400")
nljlistbox2@gmail.com (N. Jackson) writes:
> [Temporary minor rant: Personally it seems absurd to me that a
> `nil' argument doesn't turn a minor mode off; and that calling the
> minor mode function with no argument doesn't toggle it. But that
> is all history of course.]
There is a good reason to have it like that: it allows doing
(add-hook 'some-hook #'the-minor-mode)
Rather than having to do
(add-hook 'some-hook (lambda () (the-minor-mode +1)))
or
(defun turn-on-the-minor-mode () (the-minor-mode +1))
(add-hook 'some-hook #'turn-on-the-minor-mode)
next prev parent reply other threads:[~2017-08-17 2:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-12 16:24 bug#25428: 25.1; Incorrect doc string for `delete-selection-mode' Drew Adams
2017-08-17 1:55 ` N. Jackson
2017-08-17 2:24 ` npostavs [this message]
2017-08-17 3:25 ` Drew Adams
2017-08-26 9:03 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lt7ylrk.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=25428@debbugs.gnu.org \
--cc=nljlistbox2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.