* Re: master 90e4009: Fix infloop in memory-report
[not found] ` <20201225235710.8DCCA209C2@vcs0.savannah.gnu.org>
@ 2020-12-26 0:11 ` Stefan Monnier
2020-12-26 0:26 ` Lars Ingebrigtsen
2020-12-26 9:51 ` Andreas Schwab
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Monnier @ 2020-12-26 0:11 UTC (permalink / raw)
To: emacs-devel; +Cc: Lars Ingebrigtsen
> + (if (gethash (cdr value) counted)
> + (setq value nil)
> + (setq value (cdr value)))
AKA
(setq value (if (gethash (cdr value) counted)
nil
(cdr value)))
-- Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: master 90e4009: Fix infloop in memory-report
2020-12-26 0:11 ` master 90e4009: Fix infloop in memory-report Stefan Monnier
@ 2020-12-26 0:26 ` Lars Ingebrigtsen
2020-12-26 9:51 ` Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-26 0:26 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> + (if (gethash (cdr value) counted)
>> + (setq value nil)
>> + (setq value (cdr value)))
>
> AKA
>
> (setq value (if (gethash (cdr value) counted)
> nil
> (cdr value)))
Sure; go ahead and rewrite if you want.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: master 90e4009: Fix infloop in memory-report
2020-12-26 0:11 ` master 90e4009: Fix infloop in memory-report Stefan Monnier
2020-12-26 0:26 ` Lars Ingebrigtsen
@ 2020-12-26 9:51 ` Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2020-12-26 9:51 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Lars Ingebrigtsen, emacs-devel
On Dez 25 2020, Stefan Monnier wrote:
>> + (if (gethash (cdr value) counted)
>> + (setq value nil)
>> + (setq value (cdr value)))
>
> AKA
>
> (setq value (if (gethash (cdr value) counted)
> nil
> (cdr value)))
Or even (setq value (and (not (gethash (cdr value) counted)) (cdr value))).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-26 9:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20201225235708.31219.57608@vcs0.savannah.gnu.org>
[not found] ` <20201225235710.8DCCA209C2@vcs0.savannah.gnu.org>
2020-12-26 0:11 ` master 90e4009: Fix infloop in memory-report Stefan Monnier
2020-12-26 0:26 ` Lars Ingebrigtsen
2020-12-26 9:51 ` Andreas Schwab
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.