diff options
| author | Mattias EngdegÄrd | 2019-09-23 18:56:30 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2019-09-25 18:09:42 +0200 |
| commit | a773a6474897356cd78aeea092d2c1a51ede23f9 (patch) | |
| tree | 9935673b464dc14a03a70a36c6ce7756404f0337 /etc | |
| parent | 84567150e757ee3991a4b4f96a27080f92cb6d48 (diff) | |
| download | emacs-a773a6474897356cd78aeea092d2c1a51ede23f9.tar.gz emacs-a773a6474897356cd78aeea092d2c1a51ede23f9.zip | |
Allow regexp-quote to return its argument
* src/search.c (Fregexp_quote): Only allocate a new string if needed.
* doc/lispref/searching.texi (Regexp Functions):
* etc/NEWS (Incompatible Lisp Changes): Document.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -2157,6 +2157,10 @@ valid event type. | |||
| 2157 | be specified in image specs representing the entire bitmap as a single | 2157 | be specified in image specs representing the entire bitmap as a single |
| 2158 | bool vector. | 2158 | bool vector. |
| 2159 | 2159 | ||
| 2160 | +++ | ||
| 2161 | ** 'regexp-quote' may return its argument string. | ||
| 2162 | If the argument needs no quoting, it can be returned instead of a copy. | ||
| 2163 | |||
| 2160 | 2164 | ||
| 2161 | * Lisp Changes in Emacs 27.1 | 2165 | * Lisp Changes in Emacs 27.1 |
| 2162 | 2166 | ||