Hi,

Am Dienstag, den 16.11.2021, 18:12 +0000 schrieb Vivien Kraus:
> +      (home-page "https://github.com/rrthomas/vala-mode";)
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url home-page)
> +               (commit commit)))
Sorry, I didn't look close enough.  Please avoid pulling home-page up,
it's not meant to be used as git-reference url.

> +               (emacs-substitute-sexps "vala-mode.el"
> +                 (";; Support multiline strings" 'disabled.)
> +                 ("(defcustom vala-multiline-strings nil"
> +                  "This variable is ignored.")))))))
This inserts mostly bogus into the file rather than killing the sexps
as it should.  The payload for just killing the entire sexp which
starts with leading-regexp would be (if I constructed this correctly,
untested):
    
    (progn (goto-char (point-min))
           (re-search-forward ,leading-regexp)
           (goto-char (match-beginning 0))
           (kill-sexp))

Don't forget to basic-save-buffer :)

Cheers




Reply via email to