diff options
| author | Eli Zaretskii | 2018-04-22 20:39:46 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-04-22 20:39:46 +0300 |
| commit | 415e8593edfa582edd9d2c03748e9ae9cec5022c (patch) | |
| tree | fafbe16db0246a94dec73d2ee905477bddbe24b4 /doc | |
| parent | d7faaef501eefb7c8a62af086b3cca7e86b635e7 (diff) | |
| download | emacs-415e8593edfa582edd9d2c03748e9ae9cec5022c.tar.gz emacs-415e8593edfa582edd9d2c03748e9ae9cec5022c.zip | |
Minor improvements of next-error docs
* lisp/simple.el (next-error-find-buffer-function)
(previous-error, next-error-select-buffer): Doc fixes.
* doc/emacs/maintaining.texi (Change Log Commands):
* doc/emacs/building.texi (Compilation Mode): Index the new
commands and variables. Improve wording.
(Bug#20493)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/building.texi | 5 | ||||
| -rw-r--r-- | doc/emacs/maintaining.texi | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 1e2dac9534e..496c4275bc2 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -190,6 +190,9 @@ compilation buffer produce automatic source display. | |||
| 190 | @item g | 190 | @item g |
| 191 | Re-run the last command whose output is shown in the | 191 | Re-run the last command whose output is shown in the |
| 192 | @file{*compilation*} buffer. | 192 | @file{*compilation*} buffer. |
| 193 | @item M-x next-error-select-buffer | ||
| 194 | Select a buffer to be used by next invocation of @code{next-error} and | ||
| 195 | @code{previous-error}. | ||
| 193 | @end table | 196 | @end table |
| 194 | 197 | ||
| 195 | @kindex M-g M-n | 198 | @kindex M-g M-n |
| @@ -212,6 +215,8 @@ the beginning of the compilation buffer, and visits the first locus. | |||
| 212 | @kbd{M-g M-p} or @kbd{M-g p} (@code{previous-error}) iterates | 215 | @kbd{M-g M-p} or @kbd{M-g p} (@code{previous-error}) iterates |
| 213 | through errors in the opposite direction. | 216 | through errors in the opposite direction. |
| 214 | 217 | ||
| 218 | @vindex next-error-find-buffer-function | ||
| 219 | @findex next-error-select-buffer | ||
| 215 | The @code{next-error} and @code{previous-error} commands don't just | 220 | The @code{next-error} and @code{previous-error} commands don't just |
| 216 | act on the errors or matches listed in @file{*compilation*} and | 221 | act on the errors or matches listed in @file{*compilation*} and |
| 217 | @file{*grep*} buffers; they also know how to iterate through error or | 222 | @file{*grep*} buffers; they also know how to iterate through error or |
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 649ca1ec51f..df8c4479000 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -1640,14 +1640,15 @@ entry is considered a page. This facilitates editing the entries. | |||
| 1640 | @kbd{C-j} and auto-fill indent each new line like the previous line; | 1640 | @kbd{C-j} and auto-fill indent each new line like the previous line; |
| 1641 | this is convenient for entering the contents of an entry. | 1641 | this is convenient for entering the contents of an entry. |
| 1642 | 1642 | ||
| 1643 | You can use the @code{change-log-goto-source} command (by default | 1643 | @findex change-log-goto-source |
| 1644 | You can use the command @code{change-log-goto-source} (by default | ||
| 1644 | bound to @kbd{C-c C-c}) to go to the source location of the change log | 1645 | bound to @kbd{C-c C-c}) to go to the source location of the change log |
| 1645 | entry near point, when Change Log mode is on. Then subsequent | 1646 | entry near point, when Change Log mode is on. Then subsequent |
| 1646 | invocations of the @code{next-error} command (by default bound to | 1647 | invocations of the @code{next-error} command (by default bound to |
| 1647 | @kbd{M-g M-n}) will move between entries in the change log. You will | 1648 | @kbd{M-g M-n} and @kbd{C-x `}) will move between entries in the change |
| 1648 | jump to the actual site in the file that was changed, not just to the | 1649 | log. You will jump to the actual site in the file that was changed, |
| 1649 | next change log entry. You can also use @code{previous-error} to move | 1650 | not just to the next change log entry. You can also use |
| 1650 | back in the same list. | 1651 | @code{previous-error} to move back through the change log entries. |
| 1651 | 1652 | ||
| 1652 | @findex change-log-merge | 1653 | @findex change-log-merge |
| 1653 | You can use the command @kbd{M-x change-log-merge} to merge other | 1654 | You can use the command @kbd{M-x change-log-merge} to merge other |