diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-09-25 13:15:42 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-09-25 13:15:42 +0200 |
commit | 8a253a96a0db4dd585ab787345657d952c7babec (patch) | |
tree | 45e713e572ea53282d6b5141d685f1c178b761a2 /lisp/emacs-lisp/lisp-mode.el | |
parent | d964375ad3bc0ec3edbce0bfcf72a0a0d7dda426 (diff) | |
download | emacs-8a253a96a0db4dd585ab787345657d952c7babec.tar.gz emacs-8a253a96a0db4dd585ab787345657d952c7babec.tar.bz2 emacs-8a253a96a0db4dd585ab787345657d952c7babec.zip |
Fix replace-in-string infloop with empty pattern string (bug#43598)
* lisp/subr.el (replace-in-string): Raise an error if FROMSTRING is
empty.
* test/lisp/subr-tests.el (replace-in-string): Add test case.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions