unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24413: 24.5; doc string of `whitespace-mode' does not mention Lisp `toggle' arg
@ 2016-09-11 16:52 Drew Adams
  2016-09-16  9:47 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2016-09-11 16:52 UTC (permalink / raw)
  To: 24413

In this respect, the explicit doc string provided when defining
`whitespace-mode' is _worse_ than the default doc string provided by
`define-minor-mode'.  The latter at least adds this important
information, which is missing from `C-h f whitespace-mode':

  "and toggle it if ARG is `toggle'."

This might not be the only minor mode whose doc fails to mention
`toggle' as ARG for Lisp.

See http://emacs.stackexchange.com/a/27006/105.

In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr --host=i686-pc-mingw32'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#24413: 24.5; doc string of `whitespace-mode' does not mention Lisp `toggle' arg
  2016-09-11 16:52 bug#24413: 24.5; doc string of `whitespace-mode' does not mention Lisp `toggle' arg Drew Adams
@ 2016-09-16  9:47 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2016-09-16  9:47 UTC (permalink / raw)
  To: Drew Adams; +Cc: 24413-done

> Date: Sun, 11 Sep 2016 09:52:45 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> In this respect, the explicit doc string provided when defining
> `whitespace-mode' is _worse_ than the default doc string provided by
> `define-minor-mode'.  The latter at least adds this important
> information, which is missing from `C-h f whitespace-mode':
> 
>   "and toggle it if ARG is `toggle'."

Thanks, fixed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-16  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-11 16:52 bug#24413: 24.5; doc string of `whitespace-mode' does not mention Lisp `toggle' arg Drew Adams
2016-09-16  9:47 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).