|
From: | Dmitry Gutov |
Subject: | bug#25905: 25.1; Can't find regexp and replace in SVG files |
Date: | Sun, 13 Dec 2020 20:39:43 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 13.12.2020 14:42, Lars Ingebrigtsen wrote:
(defvar query-replace-overriding-mode-alist '(("\\.svgz?\\'" . image-mode-as-text) ("\\.x[bp]m\\'" . image-mode-as-text) ("\\.p[bpgn]m\\'" . image-mode-as-text))) That would make this trivial to implement. Comments?
I don't know about the rest of the implementation, but the above is pretty much exactly what I was thinking of, thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |