1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Tweak messaging in re-builder

* lisp/emacs-lisp/re-builder.el (reb-copy): Say what we copied to
the kill ring.
This commit is contained in:
Lars Ingebrigtsen 2019-07-09 03:25:42 +02:00
parent 97190675c8
commit 733f30b4cb

View file

@ -455,7 +455,7 @@ matching parts of the target buffer will be highlighted."
(setq re (substring re 1 (1- (length re))))
(setq re (replace-regexp-in-string "\n" "\\n" re nil t))
(kill-new re)
(message "Regexp copied to kill-ring")))
(message "Copied regexp `%s' to kill-ring" re)))
;; The subexpression mode is not electric because the number of
;; matches should be seen rather than a prompt.