GNU bug report logs - #35579
Add example of setting view-exit-action to a "function with one argument"

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 5 May 2019 12:33:03 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 35579 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35579 <at> debbugs.gnu.org
Subject: Re: bug#35579: Add example of setting view-exit-action to a "function
 with one argument"
Date: Mon, 06 May 2019 20:37:05 -0400
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

>    view-exit-action is a variable defined in ‘view.el’.
>    Its value is nil
>
>      Automatically becomes buffer-local when set.
>
>    Documentation:
>    If non-nil, a function with one argument (a buffer) called when finished viewing.
>
> Better add an example of how to set "a function with one argument". Thanks.

I don't see why we should add an example of how to use setq or customize
in an otherwise unrelated docstring.  Or did you mean an example of how
to write a function with one argument?  I'd say that belongs in the
elisp manual.





This bug report was last modified 5 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.