1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

* src/eval.c (Fcalled_interactively_p): Doc fix. (Bug#11747)

This commit is contained in:
Glenn Morris 2012-08-14 14:43:08 -04:00
parent 6bdcb2b28f
commit 8c95e66453
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2012-08-14 Glenn Morris <rgm@gnu.org>
* eval.c (Fcalled_interactively_p): Doc fix. (Bug#11747)
2012-08-14 Ulrich Mueller <ulm@gentoo.org> 2012-08-14 Ulrich Mueller <ulm@gentoo.org>
* systime.h (EMACS_TIME_CMP): Don't cast time_t values to long * systime.h (EMACS_TIME_CMP): Don't cast time_t values to long

View File

@ -560,11 +560,10 @@ thinking of using it for any other purpose, it is quite likely that
you're making a mistake. Think: what do you want to do when the you're making a mistake. Think: what do you want to do when the
command is called from a keyboard macro? command is called from a keyboard macro?
This function is meant for implementing advice and other Instead of using this function, it is sometimes cleaner to give your
function-modifying features. Instead of using this, it is sometimes function an extra optional argument whose `interactive' spec specifies
cleaner to give your function an extra optional argument whose non-nil unconditionally (\"p\" is a good way to do this), or via
`interactive' spec specifies non-nil unconditionally (\"p\" is a good \(not (or executing-kbd-macro noninteractive)). */)
way to do this), or via (not (or executing-kbd-macro noninteractive)). */)
(Lisp_Object kind) (Lisp_Object kind)
{ {
return ((INTERACTIVE || !EQ (kind, intern ("interactive"))) return ((INTERACTIVE || !EQ (kind, intern ("interactive")))