summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-10-13 21:40:56 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-10-13 22:16:32 +0200
commit00fa3777104cfaebeed25874390a870ba9bc8899 (patch)
tree5a2c7db9f5d0262693a58d85d022f28f47c3702c /gnu
parentcf98a72774bfd45b830a718e1f5aeed6ebfaf27c (diff)
build: emacs-utils: Fix `emacs-substitute-variables'.
* guix/build/emacs-utils.scm (emacs-substitute-variables): Fix the regexp matching variable name. With end-of-word regexp ("\>"), the previous regexp may match the prefix of a variable only, effectively deleting the rest of its name. For example, (emacs-substitute-variables "file.el" ("foo" ...)) could match (defvar foo-bar ...) and replace it with (defvar foo ...).
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions