diff options
| author | Glenn Morris | 2017-10-27 20:04:47 -0400 |
|---|---|---|
| committer | Glenn Morris | 2017-10-27 20:04:47 -0400 |
| commit | e6b4e5ffdf30ef4d63614ccbe952f1efb25096a7 (patch) | |
| tree | 87391d27ade99b534281606f1fd65be8912629ac | |
| parent | e8636ac8cc96e1e7e948f04091792da09dafcc76 (diff) | |
| download | emacs-e6b4e5ffdf30ef4d63614ccbe952f1efb25096a7.tar.gz emacs-e6b4e5ffdf30ef4d63614ccbe952f1efb25096a7.zip | |
Fix some doc typos
* lisp/calendar/todo-mode.el (todo-next-item)
(todo-previous-item, todo-toggle-item-header):
* lisp/window.el (move-to-window-group-line):
* src/editfns.c (Fformat):
* test/lisp/calendar/todo-mode-tests.el (todo-test-move-item05):
Fix doc typos.
; And in some comments.
| -rw-r--r-- | lisp/calendar/todo-mode.el | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/inline.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-notifications.el | 2 | ||||
| -rw-r--r-- | lisp/subr.el | 2 | ||||
| -rw-r--r-- | lisp/window.el | 2 | ||||
| -rw-r--r-- | src/editfns.c | 2 | ||||
| -rw-r--r-- | test/lisp/calendar/todo-mode-tests.el | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 79fda462847..d12dfc54492 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -956,7 +956,7 @@ called with a prefix argument only moves point to a lower item, | |||
| 956 | e.g., with point on the last todo item and called with prefix 1, | 956 | e.g., with point on the last todo item and called with prefix 1, |
| 957 | it moves point to the first done item; but if called with point | 957 | it moves point to the first done item; but if called with point |
| 958 | on the last todo item without a prefix argument, it moves point | 958 | on the last todo item without a prefix argument, it moves point |
| 959 | the the empty line above the done items separator." | 959 | to the empty line above the done items separator." |
| 960 | (interactive "p") | 960 | (interactive "p") |
| 961 | ;; It's not worth the trouble to allow prefix arg value < 1, since | 961 | ;; It's not worth the trouble to allow prefix arg value < 1, since |
| 962 | ;; we have the corresponding command. | 962 | ;; we have the corresponding command. |
| @@ -976,7 +976,7 @@ If the category's done items are visible, this command called | |||
| 976 | with a prefix argument only moves point to a higher item, e.g., | 976 | with a prefix argument only moves point to a higher item, e.g., |
| 977 | with point on the first done item and called with prefix 1, it | 977 | with point on the first done item and called with prefix 1, it |
| 978 | moves to the last todo item; but if called with point on the | 978 | moves to the last todo item; but if called with point on the |
| 979 | first done item without a prefix argument, it moves point the the | 979 | first done item without a prefix argument, it moves point to the |
| 980 | empty line above the done items separator." | 980 | empty line above the done items separator." |
| 981 | (interactive "p") | 981 | (interactive "p") |
| 982 | ;; Avoid moving to bob if on the first item but not at bob. | 982 | ;; Avoid moving to bob if on the first item but not at bob. |
| @@ -1052,7 +1052,7 @@ empty line above the done items separator." | |||
| 1052 | (defun todo-toggle-item-header () | 1052 | (defun todo-toggle-item-header () |
| 1053 | "Hide or show item date-time headers in the current file. | 1053 | "Hide or show item date-time headers in the current file. |
| 1054 | With done items, this hides only the done date-time string, not | 1054 | With done items, this hides only the done date-time string, not |
| 1055 | the the original date-time string." | 1055 | the original date-time string." |
| 1056 | (interactive) | 1056 | (interactive) |
| 1057 | (unless (catch 'nonempty | 1057 | (unless (catch 'nonempty |
| 1058 | (dolist (type '(todo done)) | 1058 | (dolist (type '(todo done)) |
diff --git a/lisp/emacs-lisp/inline.el b/lisp/emacs-lisp/inline.el index 00e5e6eb48d..ff27158f836 100644 --- a/lisp/emacs-lisp/inline.el +++ b/lisp/emacs-lisp/inline.el | |||
| @@ -59,7 +59,7 @@ | |||
| 59 | ;; and then M-: (macroexpand-all '(my-test1 y)) RET) | 59 | ;; and then M-: (macroexpand-all '(my-test1 y)) RET) |
| 60 | ;; There is still one downside shared with the defmacro and cl-defsubst | 60 | ;; There is still one downside shared with the defmacro and cl-defsubst |
| 61 | ;; approach: when the function is inlined, the scoping rules (dynamic or | 61 | ;; approach: when the function is inlined, the scoping rules (dynamic or |
| 62 | ;; lexical) will be inherited from the the call site. | 62 | ;; lexical) will be inherited from the call site. |
| 63 | 63 | ||
| 64 | ;; Of course, since define-inline defines a compiler macro, you can also do | 64 | ;; Of course, since define-inline defines a compiler macro, you can also do |
| 65 | ;; call-site optimizations, just like you can with `defmacro', but not with | 65 | ;; call-site optimizations, just like you can with `defmacro', but not with |
diff --git a/lisp/gnus/gnus-notifications.el b/lisp/gnus/gnus-notifications.el index e97e6a64334..6e8dbb5c35e 100644 --- a/lisp/gnus/gnus-notifications.el +++ b/lisp/gnus/gnus-notifications.el | |||
| @@ -154,7 +154,7 @@ This is typically a function to add in | |||
| 154 | (dolist (entry gnus-newsrc-alist) | 154 | (dolist (entry gnus-newsrc-alist) |
| 155 | (let ((group (car entry))) | 155 | (let ((group (car entry))) |
| 156 | ;; Check that the group level is less than | 156 | ;; Check that the group level is less than |
| 157 | ;; `gnus-notifications-minimum-level' and the the group has unread | 157 | ;; `gnus-notifications-minimum-level' and the group has unread |
| 158 | ;; messages. | 158 | ;; messages. |
| 159 | (when (and (<= (gnus-group-level group) gnus-notifications-minimum-level) | 159 | (when (and (<= (gnus-group-level group) gnus-notifications-minimum-level) |
| 160 | (let ((unread (gnus-group-unread group))) | 160 | (let ((unread (gnus-group-unread group))) |
diff --git a/lisp/subr.el b/lisp/subr.el index 49fffad7fe6..a955b8131d6 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2445,7 +2445,7 @@ floating point support." | |||
| 2445 | nil) | 2445 | nil) |
| 2446 | ((or (<= seconds 0) | 2446 | ((or (<= seconds 0) |
| 2447 | ;; We are going to call read-event below, which will record | 2447 | ;; We are going to call read-event below, which will record |
| 2448 | ;; the the next key as part of the macro, even if that key | 2448 | ;; the next key as part of the macro, even if that key |
| 2449 | ;; invokes kmacro-end-macro, so if we are recording a macro, | 2449 | ;; invokes kmacro-end-macro, so if we are recording a macro, |
| 2450 | ;; the macro will recursively call itself. In addition, when | 2450 | ;; the macro will recursively call itself. In addition, when |
| 2451 | ;; that key is removed from unread-command-events, it will be | 2451 | ;; that key is removed from unread-command-events, it will be |
diff --git a/lisp/window.el b/lisp/window.el index c0a9ecd093c..a761d6c0292 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -8678,7 +8678,7 @@ result is a list containing only the selected window." | |||
| 8678 | (make-variable-buffer-local 'move-to-window-group-line-function) | 8678 | (make-variable-buffer-local 'move-to-window-group-line-function) |
| 8679 | (put 'move-to-window-group-line-function 'permanent-local t) | 8679 | (put 'move-to-window-group-line-function 'permanent-local t) |
| 8680 | (defun move-to-window-group-line (arg) | 8680 | (defun move-to-window-group-line (arg) |
| 8681 | "Position point relative to the the current group of windows. | 8681 | "Position point relative to the current group of windows. |
| 8682 | When a grouping mode (such as Follow Mode) is not active, this | 8682 | When a grouping mode (such as Follow Mode) is not active, this |
| 8683 | function is identical to `move-to-window-line'. | 8683 | function is identical to `move-to-window-line'. |
| 8684 | 8684 | ||
diff --git a/src/editfns.c b/src/editfns.c index f6f5ccc9480..81cda4af062 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -4119,7 +4119,7 @@ The # flag means to use an alternate display form for %o, %x, %X, %e, | |||
| 4119 | \"0\"; for %x and %X, it prefixes the result with \"0x\" or \"0X\"; | 4119 | \"0\"; for %x and %X, it prefixes the result with \"0x\" or \"0X\"; |
| 4120 | for %e and %f, it causes a decimal point to be included even if the | 4120 | for %e and %f, it causes a decimal point to be included even if the |
| 4121 | the precision is zero; for %g, it causes a decimal point to be | 4121 | the precision is zero; for %g, it causes a decimal point to be |
| 4122 | included even if the the precision is zero, and also forces trailing | 4122 | included even if the precision is zero, and also forces trailing |
| 4123 | zeros after the decimal point to be left in place. | 4123 | zeros after the decimal point to be left in place. |
| 4124 | 4124 | ||
| 4125 | The width specifier supplies a lower limit for the length of the | 4125 | The width specifier supplies a lower limit for the length of the |
diff --git a/test/lisp/calendar/todo-mode-tests.el b/test/lisp/calendar/todo-mode-tests.el index 66ddbbcc964..43187d4ab95 100644 --- a/test/lisp/calendar/todo-mode-tests.el +++ b/test/lisp/calendar/todo-mode-tests.el | |||
| @@ -384,7 +384,7 @@ priority and the done item should be the first done item." | |||
| 384 | (ert-deftest todo-test-move-item05 () ; bug#27609 | 384 | (ert-deftest todo-test-move-item05 () ; bug#27609 |
| 385 | "Test moving multiple todo and done items to another category. | 385 | "Test moving multiple todo and done items to another category. |
| 386 | Both types of item should be moved en bloc to the new category, | 386 | Both types of item should be moved en bloc to the new category, |
| 387 | and the the top todo item should have the provided priority and | 387 | and the top todo item should have the provided priority and |
| 388 | the top done item should be the first done item." | 388 | the top done item should be the first done item." |
| 389 | (with-todo-test | 389 | (with-todo-test |
| 390 | (todo-test--show 1) | 390 | (todo-test--show 1) |