diff options
| author | Glenn Morris | 2014-02-13 23:36:42 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-13 23:36:42 -0800 |
| commit | b8630261dda1988bd1cabe7fc1b567b6e140eabb (patch) | |
| tree | f0c5bb6f392ab72b6a899a877b183232b986dfbc /etc | |
| parent | b2bf2a254fba3ec86fb763a95289f51251428ac4 (diff) | |
| download | emacs-b8630261dda1988bd1cabe7fc1b567b6e140eabb.tar.gz emacs-b8630261dda1988bd1cabe7fc1b567b6e140eabb.zip | |
Some read-regexp doc
* lisp/replace.el (map-query-replace-regexp)
(read-regexp-defaults-function, read-regexp): Doc fixes.
* etc/NEWS: Related edits.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 3 insertions, 6 deletions
| @@ -251,12 +251,6 @@ and this variable has been marked obsolete. | |||
| 251 | ** `emacs-bzr-version' has been renamed to `emacs-repository-version', | 251 | ** `emacs-bzr-version' has been renamed to `emacs-repository-version', |
| 252 | and works for git too, if you fetch the repository notes. | 252 | and works for git too, if you fetch the repository notes. |
| 253 | 253 | ||
| 254 | ** `read-regexp-defaults-function' defines a function to provide default | ||
| 255 | values for reading regexps by commands like `rgrep', `lgrep' `occur', | ||
| 256 | `highlight-regexp', etc. You can customize this to specify a function | ||
| 257 | that provides a default value from the regexp last history element, | ||
| 258 | or from the symbol found at point. | ||
| 259 | |||
| 260 | +++ | 254 | +++ |
| 261 | ** New option `load-prefer-newer' affects how the `load' function chooses | 255 | ** New option `load-prefer-newer' affects how the `load' function chooses |
| 262 | the file to load. If this is non-nil, then when both .el and .elc | 256 | the file to load. If this is non-nil, then when both .el and .elc |
| @@ -1090,6 +1084,9 @@ respecting file-local variables. | |||
| 1090 | +++ | 1084 | +++ |
| 1091 | ** New function `get-pos-property'. | 1085 | ** New function `get-pos-property'. |
| 1092 | 1086 | ||
| 1087 | ** `read-regexp' now uses the new variable `read-regexp-defaults-function' | ||
| 1088 | as a function to call to provide default values. | ||
| 1089 | |||
| 1093 | ** Completion changes | 1090 | ** Completion changes |
| 1094 | 1091 | ||
| 1095 | *** The separator for `completing-read-multiple' can now be a regexp. | 1092 | *** The separator for `completing-read-multiple' can now be a regexp. |