diff options
| author | Eli Zaretskii | 2025-09-13 07:23:12 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2025-09-13 07:23:12 -0400 |
| commit | 125b3588c9a69625aa72cb3a86c332a804d02458 (patch) | |
| tree | 4b8c0f8791ed217df56a32ea98fedbd28e672d66 | |
| parent | abfd8a454a9af33317558a7f904088830946d37b (diff) | |
| parent | 47454566772479c706ea53b4ee9ad5caaafd9130 (diff) | |
| download | emacs-125b3588c9a69625aa72cb3a86c332a804d02458.tar.gz emacs-125b3588c9a69625aa72cb3a86c332a804d02458.zip | |
Merge from origin/emacs-30
47454566772 ; * lisp/dired-x.el (dired-find-subdir): Doc fix (bug#794...
0832e5fec56 ; * lisp/vc/vc.el (vc-print-root-log): Improve docstring ...
2fafcdbf6ac ; Minor copyedits in src/editfns.c
| -rw-r--r-- | lisp/dired-x.el | 18 | ||||
| -rw-r--r-- | lisp/vc/vc.el | 2 | ||||
| -rw-r--r-- | src/editfns.c | 6 |
3 files changed, 12 insertions, 14 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index ad602b00a3e..6eacdafe7a5 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -188,16 +188,14 @@ When nil, don't show messages." | |||
| 188 | :group 'dired-x) | 188 | :group 'dired-x) |
| 189 | 189 | ||
| 190 | (defcustom dired-find-subdir nil ; t is pretty near to DWIM... | 190 | (defcustom dired-find-subdir nil ; t is pretty near to DWIM... |
| 191 | "If non-nil, Dired always finds a directory in a buffer of its own. | 191 | "If nil, Dired always finds a directory in a buffer of its own. |
| 192 | If nil, Dired finds the directory as a subdirectory in some other buffer | 192 | If non-nil, Dired finds the directory as a subdirectory in some |
| 193 | if it is present as one. | 193 | other buffer if it is present as one. |
| 194 | 194 | ||
| 195 | If there are several Dired buffers for a directory, the most recently | 195 | If the value is non-nil, and there are several Dired buffers for a |
| 196 | used is chosen. | 196 | directory, the most recently used is chosen. Dired avoids switching |
| 197 | 197 | to the current buffer, so that if you have a normal and a wildcard | |
| 198 | Dired avoids switching to the current buffer, so that if you have | 198 | buffer for the same directory, \\[dired] will toggle between those two." |
| 199 | a normal and a wildcard buffer for the same directory, \\[dired] will | ||
| 200 | toggle between those two." | ||
| 201 | :type 'boolean | 199 | :type 'boolean |
| 202 | :group 'dired-x) | 200 | :group 'dired-x) |
| 203 | 201 | ||
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 44a2c143b87..e0e9d0e2ac6 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -3515,7 +3515,7 @@ number of revisions to show; the default is `vc-log-show-limit'. | |||
| 3515 | When called interactively with a prefix argument, prompt for LIMIT, but | 3515 | When called interactively with a prefix argument, prompt for LIMIT, but |
| 3516 | if the prefix argument is a number, use it as LIMIT. | 3516 | if the prefix argument is a number, use it as LIMIT. |
| 3517 | A special case is when the prefix argument is 1: in this case | 3517 | A special case is when the prefix argument is 1: in this case |
| 3518 | the command prompts for the ID of a revision, and shows that revision | 3518 | the command prompts for the id of a REVISION, and shows that revision |
| 3519 | with its diffs (if the underlying VCS backend supports that)." | 3519 | with its diffs (if the underlying VCS backend supports that)." |
| 3520 | (interactive | 3520 | (interactive |
| 3521 | (cond | 3521 | (cond |
diff --git a/src/editfns.c b/src/editfns.c index af53923f92c..c2393106b41 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1693,7 +1693,7 @@ If narrowing is in effect, this function returns only the visible part | |||
| 1693 | of the buffer. | 1693 | of the buffer. |
| 1694 | 1694 | ||
| 1695 | This function copies the text properties of that part of the buffer | 1695 | This function copies the text properties of that part of the buffer |
| 1696 | into the result string; if you don’t want the text properties, | 1696 | into the result string; if you don't want the text properties, |
| 1697 | use `buffer-substring-no-properties' instead. */) | 1697 | use `buffer-substring-no-properties' instead. */) |
| 1698 | (void) | 1698 | (void) |
| 1699 | { | 1699 | { |
| @@ -2151,7 +2151,7 @@ a buffer or a string. But this is deprecated. */) | |||
| 2151 | Lisp_Object src = CALLN (Fvector, source_buffer, Qnil, Qnil); | 2151 | Lisp_Object src = CALLN (Fvector, source_buffer, Qnil, Qnil); |
| 2152 | /* Walk backwards through the lists of changes. This was also | 2152 | /* Walk backwards through the lists of changes. This was also |
| 2153 | cargo-culted from src/analyze.c in GNU Diffutils. Because we | 2153 | cargo-culted from src/analyze.c in GNU Diffutils. Because we |
| 2154 | walk backwards, we don’t have to keep the positions in sync. */ | 2154 | walk backwards, we don't have to keep the positions in sync. */ |
| 2155 | while (i >= 0 || j >= 0) | 2155 | while (i >= 0 || j >= 0) |
| 2156 | { | 2156 | { |
| 2157 | rarely_quit (++ctx.quitcounter); | 2157 | rarely_quit (++ctx.quitcounter); |
| @@ -3426,7 +3426,7 @@ usage: (format-message STRING &rest OBJECTS) */) | |||
| 3426 | return styled_format (nargs, args, true); | 3426 | return styled_format (nargs, args, true); |
| 3427 | } | 3427 | } |
| 3428 | 3428 | ||
| 3429 | /* Implement ‘format-message’ if MESSAGE is true, ‘format’ otherwise. */ | 3429 | /* Implement `format-message' if MESSAGE is true, `format' otherwise. */ |
| 3430 | 3430 | ||
| 3431 | static Lisp_Object | 3431 | static Lisp_Object |
| 3432 | styled_format (ptrdiff_t nargs, Lisp_Object *args, bool message) | 3432 | styled_format (ptrdiff_t nargs, Lisp_Object *args, bool message) |