bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61091: 30.0.50; y-or-n-p clobbers match data


From: Richard Stallman
Subject: bug#61091: 30.0.50; y-or-n-p clobbers match data
Date: Sun, 29 Jan 2023 00:18:24 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  >   In general, Lisp programs should not rely on any
  > function not to clobber match data, unless that function is documented
  > to preserve match data.

Allowance should be made for the fact that `y-or-n-p'
was safe for the match data for over 35 years.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]