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

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

bug#57795: FIXME about save-match-data in shell-command


From: Stefan Kangas
Subject: bug#57795: FIXME about save-match-data in shell-command
Date: Wed, 14 Sep 2022 00:36:30 -0700

Severity: wishlist

In `shell-command', we have the following comment:

        ;; Preserve the match data in case called from a program.
        ;; FIXME: It'd be ridiculous for an Elisp function to call
        ;; shell-command and assume that it won't mess the match-data!

I think we should decide to either get rid of the FIXME, or to take the
plunge and remove `save-match-data'.  (Note that the latter has been
there since 1995.)





reply via email to

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