diff options
| author | Paul Eggert | 2019-12-10 20:04:36 -0800 |
|---|---|---|
| committer | Paul Eggert | 2019-12-10 20:05:49 -0800 |
| commit | b0f20651e3cbb8a66f11ffae4c18634019c20cd4 (patch) | |
| tree | 067bcb8fa529b4afee6d189f409faf16bd437810 /lisp | |
| parent | 0940296ebe56ebdf9c32e94191d4f0b18006a910 (diff) | |
| download | emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.tar.gz emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.zip | |
; Spelling fixes
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog.7 | 6 | ||||
| -rw-r--r-- | lisp/auth-source-pass.el | 2 | ||||
| -rw-r--r-- | lisp/button.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/ChangeLog.1 | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-cus.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 | ||||
| -rw-r--r-- | lisp/icomplete.el | 2 | ||||
| -rw-r--r-- | lisp/net/newst-backend.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-attach.el | 4 | ||||
| -rw-r--r-- | lisp/org/org.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/flymake.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/hideshow.el | 8 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 4 | ||||
| -rw-r--r-- | lisp/so-long.el | 24 | ||||
| -rw-r--r-- | lisp/subr.el | 2 | ||||
| -rw-r--r-- | lisp/thingatpt.el | 2 |
17 files changed, 36 insertions, 36 deletions
diff --git a/lisp/ChangeLog.7 b/lisp/ChangeLog.7 index 2fe98e8f00d..2c2aabd94b5 100644 --- a/lisp/ChangeLog.7 +++ b/lisp/ChangeLog.7 | |||
| @@ -17104,8 +17104,8 @@ | |||
| 17104 | the rewrite of `hs-inside-comment-p'. | 17104 | the rewrite of `hs-inside-comment-p'. |
| 17105 | (hs-inside-comment-p): Rewritten from scratch. Semantics changed | 17105 | (hs-inside-comment-p): Rewritten from scratch. Semantics changed |
| 17106 | when returning non-nil. We can be inside a comment, but that | 17106 | when returning non-nil. We can be inside a comment, but that |
| 17107 | comment might not be hidable (the car of the return value should | 17107 | comment might not be hideable (the car of the return value should |
| 17108 | be non-nil to be hidable). | 17108 | be non-nil to be hideable). |
| 17109 | (hs-grok-mode-type): Rewrite to be more understandable. | 17109 | (hs-grok-mode-type): Rewrite to be more understandable. |
| 17110 | `hs-c-end-regexp' does not exist any more. | 17110 | `hs-c-end-regexp' does not exist any more. |
| 17111 | Initialize `hs-c-start-regexp' from the alist if specified there. | 17111 | Initialize `hs-c-start-regexp' from the alist if specified there. |
| @@ -17117,7 +17117,7 @@ | |||
| 17117 | block, go to their end and look there for the overlays. | 17117 | block, go to their end and look there for the overlays. |
| 17118 | (java-hs-adjust-block-beginning): New function. | 17118 | (java-hs-adjust-block-beginning): New function. |
| 17119 | (hs-hide-all): Hide a comment block only if `hs-inside-comment-p' | 17119 | (hs-hide-all): Hide a comment block only if `hs-inside-comment-p' |
| 17120 | says is hidable. | 17120 | says is hideable. |
| 17121 | (hs-hide-block): Simplify. Handle properly the result of | 17121 | (hs-hide-block): Simplify. Handle properly the result of |
| 17122 | `hs-inside-comment-p'. | 17122 | `hs-inside-comment-p'. |
| 17123 | (hs-show-block): Likewise. | 17123 | (hs-show-block): Likewise. |
diff --git a/lisp/auth-source-pass.el b/lisp/auth-source-pass.el index 45d5a6ce81b..7201a2d1a2c 100644 --- a/lisp/auth-source-pass.el +++ b/lisp/auth-source-pass.el | |||
| @@ -292,7 +292,7 @@ components, from longest to shortest." | |||
| 292 | (defun auth-source-pass--name-port-user-suffixes (name user port) | 292 | (defun auth-source-pass--name-port-user-suffixes (name user port) |
| 293 | "Return a list of possible path suffixes for NAME, USER, & PORT. | 293 | "Return a list of possible path suffixes for NAME, USER, & PORT. |
| 294 | 294 | ||
| 295 | The resulting list is ordered from most specifc to least | 295 | The resulting list is ordered from most specific to least |
| 296 | specific, with paths matching all of NAME, USER, & PORT first, | 296 | specific, with paths matching all of NAME, USER, & PORT first, |
| 297 | then NAME & USER, then NAME & PORT, then just NAME." | 297 | then NAME & USER, then NAME & PORT, then just NAME." |
| 298 | (seq-mapcat | 298 | (seq-mapcat |
diff --git a/lisp/button.el b/lisp/button.el index ac6af0be4f8..d5aaf1b42ee 100644 --- a/lisp/button.el +++ b/lisp/button.el | |||
| @@ -243,7 +243,7 @@ overlay, a buffer position, or (for buttons in the mode-line or | |||
| 243 | header-line) a string. | 243 | header-line) a string. |
| 244 | 244 | ||
| 245 | If BUTTON has a `button-data' value, call the function with this | 245 | If BUTTON has a `button-data' value, call the function with this |
| 246 | value instad of BUTTON. | 246 | value instead of BUTTON. |
| 247 | 247 | ||
| 248 | This function only works when BUTTON is in the current buffer." | 248 | This function only works when BUTTON is in the current buffer." |
| 249 | (let ((action (or (and use-mouse-action (button-get button 'mouse-action)) | 249 | (let ((action (or (and use-mouse-action (button-get button 'mouse-action)) |
diff --git a/lisp/cedet/ChangeLog.1 b/lisp/cedet/ChangeLog.1 index 1d34219daa0..cf8d6c4f6c6 100644 --- a/lisp/cedet/ChangeLog.1 +++ b/lisp/cedet/ChangeLog.1 | |||
| @@ -453,7 +453,7 @@ | |||
| 453 | 453 | ||
| 454 | * semantic/ctxt.el (semantic-get-local-variables-default): | 454 | * semantic/ctxt.el (semantic-get-local-variables-default): |
| 455 | Also try to parse local variables for buffers which are currently | 455 | Also try to parse local variables for buffers which are currently |
| 456 | marked as unparseable. Otherwise, it is often impossible to | 456 | marked as unparsable. Otherwise, it is often impossible to |
| 457 | complete local variables. | 457 | complete local variables. |
| 458 | 458 | ||
| 459 | * semantic/scope.el (semantic-analyze-scoped-types-default): If we | 459 | * semantic/scope.el (semantic-analyze-scoped-types-default): If we |
diff --git a/lisp/gnus/gnus-cus.el b/lisp/gnus/gnus-cus.el index 5291d1d64d1..57e7f7c8c35 100644 --- a/lisp/gnus/gnus-cus.el +++ b/lisp/gnus/gnus-cus.el | |||
| @@ -257,7 +257,7 @@ Server-assigned value attached to IMAP groups, used to maintain consistency.") | |||
| 257 | (modseq (choice :tag "modseq" | 257 | (modseq (choice :tag "modseq" |
| 258 | (const :tag "None" nil) | 258 | (const :tag "None" nil) |
| 259 | (string :tag "Sequence number")) | 259 | (string :tag "Sequence number")) |
| 260 | "Modification seqence number") | 260 | "Modification sequence number") |
| 261 | (active (cons :tag "active" (integer :tag "min") (integer :tag "max")) | 261 | (active (cons :tag "active" (integer :tag "min") (integer :tag "max")) |
| 262 | "active") | 262 | "active") |
| 263 | (permanent-flags (repeat :tag "Permanent Flags" (symbol :tag "Flag")) | 263 | (permanent-flags (repeat :tag "Permanent Flags" (symbol :tag "Flag")) |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index bbbca8f4193..f02c2e5c1f1 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -233,7 +233,7 @@ textual parts.") | |||
| 233 | 'headers)) | 233 | 'headers)) |
| 234 | 234 | ||
| 235 | (defun nnimap-transform-headers () | 235 | (defun nnimap-transform-headers () |
| 236 | "Transform server's FETCH response into parseable headers." | 236 | "Transform server's FETCH response into parsable headers." |
| 237 | (goto-char (point-min)) | 237 | (goto-char (point-min)) |
| 238 | (let (seen-articles article lines size string labels) | 238 | (let (seen-articles article lines size string labels) |
| 239 | (cl-block nil | 239 | (cl-block nil |
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 16167ea21e1..cd20064be02 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -69,7 +69,7 @@ When nil, show candidates in full." | |||
| 69 | :version "24.4") | 69 | :version "24.4") |
| 70 | 70 | ||
| 71 | (defvar icomplete-tidy-shadowed-file-names nil | 71 | (defvar icomplete-tidy-shadowed-file-names nil |
| 72 | "If non-nil, automatically delete superflous parts of file names. | 72 | "If non-nil, automatically delete superfluous parts of file names. |
| 73 | For example, if the user types ~/ after a long path name, | 73 | For example, if the user types ~/ after a long path name, |
| 74 | everything preceding the ~/ is discarded so the interactive | 74 | everything preceding the ~/ is discarded so the interactive |
| 75 | selection process starts again from the user's $HOME.") | 75 | selection process starts again from the user's $HOME.") |
diff --git a/lisp/net/newst-backend.el b/lisp/net/newst-backend.el index 9c24dec2a1e..792ddbbf0b7 100644 --- a/lisp/net/newst-backend.el +++ b/lisp/net/newst-backend.el | |||
| @@ -1598,7 +1598,7 @@ This function calls `message' with arguments STRING and ARGS, if | |||
| 1598 | (defun newsticker--decode-iso8601-date (string) | 1598 | (defun newsticker--decode-iso8601-date (string) |
| 1599 | "Return ISO8601-STRING in format like `encode-time'. | 1599 | "Return ISO8601-STRING in format like `encode-time'. |
| 1600 | Converts from ISO-8601 to Emacs representation. If no time zone | 1600 | Converts from ISO-8601 to Emacs representation. If no time zone |
| 1601 | is present, this fuction defaults to universal time." | 1601 | is present, this function defaults to universal time." |
| 1602 | (if string | 1602 | (if string |
| 1603 | (condition-case nil | 1603 | (condition-case nil |
| 1604 | (encode-time (decoded-time-set-defaults (iso8601-parse string) 0)) | 1604 | (encode-time (decoded-time-set-defaults (iso8601-parse string) 0)) |
diff --git a/lisp/org/org-attach.el b/lisp/org/org-attach.el index bc49be7fe74..d3e1c78b7da 100644 --- a/lisp/org/org-attach.el +++ b/lisp/org/org-attach.el | |||
| @@ -187,7 +187,7 @@ attachment folders based on ID." | |||
| 187 | "Hook that is invoked by `org-attach-open'. | 187 | "Hook that is invoked by `org-attach-open'. |
| 188 | 188 | ||
| 189 | Created mostly to be compatible with org-attach-git after removing | 189 | Created mostly to be compatible with org-attach-git after removing |
| 190 | git-funtionality from this file.") | 190 | git-functionality from this file.") |
| 191 | 191 | ||
| 192 | (defcustom org-attach-commands | 192 | (defcustom org-attach-commands |
| 193 | '(((?a ?\C-a) org-attach-attach | 193 | '(((?a ?\C-a) org-attach-attach |
| @@ -231,7 +231,7 @@ directory in dired and delete from there.\n") | |||
| 231 | Each entry in this list is a list of three elements: | 231 | Each entry in this list is a list of three elements: |
| 232 | - A list of keys (characters) to select the command (the fist | 232 | - A list of keys (characters) to select the command (the fist |
| 233 | character in the list is shown in the attachment dispatcher's | 233 | character in the list is shown in the attachment dispatcher's |
| 234 | splash buffer and minubuffer prompt). | 234 | splash buffer and minibuffer prompt). |
| 235 | - A command that is called interactively when one of these keys | 235 | - A command that is called interactively when one of these keys |
| 236 | is pressed. | 236 | is pressed. |
| 237 | - A docstring for this command in the attachment dispatcher's | 237 | - A docstring for this command in the attachment dispatcher's |
diff --git a/lisp/org/org.el b/lisp/org/org.el index 11bc3641022..c289d5425ec 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -9854,9 +9854,9 @@ Elements of length one have a tab appended. Elements of length | |||
| 9854 | two are kept as is. Longer elements are truncated to length two. | 9854 | two are kept as is. Longer elements are truncated to length two. |
| 9855 | 9855 | ||
| 9856 | If an element cannot be made unique, an error is raised." | 9856 | If an element cannot be made unique, an error is raised." |
| 9857 | (let ((orderd-keys (cl-sort (copy-sequence keys) #'< :key #'length)) | 9857 | (let ((ordered-keys (cl-sort (copy-sequence keys) #'< :key #'length)) |
| 9858 | menu-keys) | 9858 | menu-keys) |
| 9859 | (dolist (key orderd-keys) | 9859 | (dolist (key ordered-keys) |
| 9860 | (let ((potential-key | 9860 | (let ((potential-key |
| 9861 | (cl-case (length key) | 9861 | (cl-case (length key) |
| 9862 | (1 (concat key "\t")) | 9862 | (1 (concat key "\t")) |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 44d0d49df5b..da3fc6b318e 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -1416,7 +1416,7 @@ template opener followed by the \"::\" operator - usually." | |||
| 1416 | (c-lang-const c-<-pseudo-digraph-cont-regexp)) | 1416 | (c-lang-const c-<-pseudo-digraph-cont-regexp)) |
| 1417 | 1417 | ||
| 1418 | (c-lang-defconst c-<-pseudo-digraph-cont-len | 1418 | (c-lang-defconst c-<-pseudo-digraph-cont-len |
| 1419 | "The maximum length of the main bit of a `c-<pseudp-digraph-cont-regexp' match. | 1419 | "The maximum length of the main bit of a `c-<-pseudo-digraph-cont-regexp' match. |
| 1420 | This doesn't count the merely contextual bits of the regexp match." | 1420 | This doesn't count the merely contextual bits of the regexp match." |
| 1421 | t 0 | 1421 | t 0 |
| 1422 | c++ 2) | 1422 | c++ 2) |
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index f052e002df7..d980d675d4d 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -708,7 +708,7 @@ backend is operating normally.") | |||
| 708 | "Tell if Flymake has running backends in this buffer." | 708 | "Tell if Flymake has running backends in this buffer." |
| 709 | (flymake-running-backends)) | 709 | (flymake-running-backends)) |
| 710 | 710 | ||
| 711 | ;; FIXME: clone of `isearch-intesects-p'! Make this an util. | 711 | ;; FIXME: clone of `isearch-intersects-p'! Make this an util. |
| 712 | (defun flymake--intersects-p (start0 end0 start1 end1) | 712 | (defun flymake--intersects-p (start0 end0 start1 end1) |
| 713 | "Return t if regions START0..END0 and START1..END1 intersect." | 713 | "Return t if regions START0..END0 and START1..END1 intersect." |
| 714 | (or (and (>= start0 start1) (< start0 end1)) | 714 | (or (and (>= start0 start1) (< start0 end1)) |
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index 53235ea573b..8f8b79af74b 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el | |||
| @@ -610,7 +610,7 @@ as cdr." | |||
| 610 | (forward-comment (- (buffer-size))) | 610 | (forward-comment (- (buffer-size))) |
| 611 | (skip-chars-forward " \t\n\f") | 611 | (skip-chars-forward " \t\n\f") |
| 612 | (let ((p (point)) | 612 | (let ((p (point)) |
| 613 | (hidable t)) | 613 | (hideable t)) |
| 614 | (beginning-of-line) | 614 | (beginning-of-line) |
| 615 | (unless (looking-at (concat "[ \t]*" hs-c-start-regexp)) | 615 | (unless (looking-at (concat "[ \t]*" hs-c-start-regexp)) |
| 616 | ;; we are in this situation: (example) | 616 | ;; we are in this situation: (example) |
| @@ -636,13 +636,13 @@ as cdr." | |||
| 636 | (when (or (not (looking-at hs-c-start-regexp)) | 636 | (when (or (not (looking-at hs-c-start-regexp)) |
| 637 | (> (point) q)) | 637 | (> (point) q)) |
| 638 | ;; we cannot hide this comment block | 638 | ;; we cannot hide this comment block |
| 639 | (setq hidable nil))) | 639 | (setq hideable nil))) |
| 640 | ;; goto the end of the comment | 640 | ;; goto the end of the comment |
| 641 | (forward-comment (buffer-size)) | 641 | (forward-comment (buffer-size)) |
| 642 | (skip-chars-backward " \t\n\f") | 642 | (skip-chars-backward " \t\n\f") |
| 643 | (end-of-line) | 643 | (end-of-line) |
| 644 | (when (>= (point) q) | 644 | (when (>= (point) q) |
| 645 | (list (and hidable p) (point)))))))) | 645 | (list (and hideable p) (point)))))))) |
| 646 | 646 | ||
| 647 | (defun hs-grok-mode-type () | 647 | (defun hs-grok-mode-type () |
| 648 | "Set up hideshow variables for new buffers. | 648 | "Set up hideshow variables for new buffers. |
| @@ -741,7 +741,7 @@ and `case-fold-search' are both t." | |||
| 741 | (save-excursion | 741 | (save-excursion |
| 742 | (let ((c-reg (hs-inside-comment-p))) | 742 | (let ((c-reg (hs-inside-comment-p))) |
| 743 | (if (and c-reg (nth 0 c-reg)) | 743 | (if (and c-reg (nth 0 c-reg)) |
| 744 | ;; point is inside a comment, and that comment is hidable | 744 | ;; point is inside a comment, and that comment is hideable |
| 745 | (goto-char (nth 0 c-reg)) | 745 | (goto-char (nth 0 c-reg)) |
| 746 | (end-of-line) | 746 | (end-of-line) |
| 747 | (when (and (not c-reg) | 747 | (when (and (not c-reg) |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 0eed7acd0d7..b0d3174eabc 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3856,8 +3856,8 @@ Returns the tracked buffer." | |||
| 3856 | 3856 | ||
| 3857 | (defun python-pdbtrack-comint-input-filter-function (input) | 3857 | (defun python-pdbtrack-comint-input-filter-function (input) |
| 3858 | "Finish tracking session depending on command in INPUT. | 3858 | "Finish tracking session depending on command in INPUT. |
| 3859 | Commands that must finish tracking session is listed in | 3859 | Commands that must finish the tracking session are listed in |
| 3860 | `python-pdbtrack-untracking-commands'." | 3860 | `python-pdbtrack-exit-command'." |
| 3861 | (when (and python-pdbtrack-tracked-buffer | 3861 | (when (and python-pdbtrack-tracked-buffer |
| 3862 | ;; Empty input is sent by C-d or `comint-send-eof' | 3862 | ;; Empty input is sent by C-d or `comint-send-eof' |
| 3863 | (or (string-empty-p input) | 3863 | (or (string-empty-p input) |
diff --git a/lisp/so-long.el b/lisp/so-long.el index 3df2de97297..160a945f657 100644 --- a/lisp/so-long.el +++ b/lisp/so-long.el | |||
| @@ -69,7 +69,7 @@ | |||
| 69 | ;; the long lines. In such circumstances you may find that `longlines-mode' is | 69 | ;; the long lines. In such circumstances you may find that `longlines-mode' is |
| 70 | ;; the most helpful facility. | 70 | ;; the most helpful facility. |
| 71 | ;; | 71 | ;; |
| 72 | ;; Note also that the mitigations are automatically triggered when visiting a | 72 | ;; Note also that the mitigation is automatically triggered when visiting a |
| 73 | ;; file. The library does not automatically detect if long lines are inserted | 73 | ;; file. The library does not automatically detect if long lines are inserted |
| 74 | ;; into an existing buffer (although the `so-long' command can be invoked | 74 | ;; into an existing buffer (although the `so-long' command can be invoked |
| 75 | ;; manually in such situations). | 75 | ;; manually in such situations). |
| @@ -386,7 +386,7 @@ | |||
| 386 | ;; - Added sgml-mode and nxml-mode to `so-long-target-modes'. | 386 | ;; - Added sgml-mode and nxml-mode to `so-long-target-modes'. |
| 387 | ;; 0.7.4 - Refactored the handling of `whitespace-mode'. | 387 | ;; 0.7.4 - Refactored the handling of `whitespace-mode'. |
| 388 | ;; 0.7.3 - Added customize group `so-long' with user options. | 388 | ;; 0.7.3 - Added customize group `so-long' with user options. |
| 389 | ;; - Added `so-long-original-values' to generalise the storage and | 389 | ;; - Added `so-long-original-values' to generalize the storage and |
| 390 | ;; restoration of values from the original mode upon `so-long-revert'. | 390 | ;; restoration of values from the original mode upon `so-long-revert'. |
| 391 | ;; - Added `so-long-revert-hook'. | 391 | ;; - Added `so-long-revert-hook'. |
| 392 | ;; 0.7.2 - Remember the original major mode even with M-x `so-long-mode'. | 392 | ;; 0.7.2 - Remember the original major mode even with M-x `so-long-mode'. |
| @@ -421,7 +421,7 @@ | |||
| 421 | Has no effect if `global-so-long-mode' is not enabled.") | 421 | Has no effect if `global-so-long-mode' is not enabled.") |
| 422 | 422 | ||
| 423 | (defvar-local so-long--active nil ; internal use | 423 | (defvar-local so-long--active nil ; internal use |
| 424 | "Non-nil when `so-long' mitigations are in effect.") | 424 | "Non-nil when `so-long' mitigation is in effect.") |
| 425 | 425 | ||
| 426 | (defvar so-long--set-auto-mode nil ; internal use | 426 | (defvar so-long--set-auto-mode nil ; internal use |
| 427 | "Non-nil while `set-auto-mode' is executing.") | 427 | "Non-nil while `set-auto-mode' is executing.") |
| @@ -740,7 +740,7 @@ was established." | |||
| 740 | ) | 740 | ) |
| 741 | ;; It's not clear to me whether all of these would be problematic, but they | 741 | ;; It's not clear to me whether all of these would be problematic, but they |
| 742 | ;; seemed like reasonable targets. Some are certainly excessive in smaller | 742 | ;; seemed like reasonable targets. Some are certainly excessive in smaller |
| 743 | ;; buffers of minified code, but we should be aiming to maximise performance | 743 | ;; buffers of minified code, but we should be aiming to maximize performance |
| 744 | ;; by default, so that Emacs is as responsive as we can manage in even very | 744 | ;; by default, so that Emacs is as responsive as we can manage in even very |
| 745 | ;; large buffers of minified code. | 745 | ;; large buffers of minified code. |
| 746 | "List of buffer-local minor modes to explicitly disable. | 746 | "List of buffer-local minor modes to explicitly disable. |
| @@ -781,7 +781,7 @@ If `so-long-revert' is subsequently invoked, then the variables are restored | |||
| 781 | to their original states. | 781 | to their original states. |
| 782 | 782 | ||
| 783 | The combination of `line-move-visual' (enabled) and `truncate-lines' (disabled) | 783 | The combination of `line-move-visual' (enabled) and `truncate-lines' (disabled) |
| 784 | is important for maximising responsiveness when moving vertically within an | 784 | is important for maximizing responsiveness when moving vertically within an |
| 785 | extremely long line, as otherwise the full length of the line may need to be | 785 | extremely long line, as otherwise the full length of the line may need to be |
| 786 | scanned to find the next position." | 786 | scanned to find the next position." |
| 787 | :type '(alist :key-type (variable :tag "Variable") | 787 | :type '(alist :key-type (variable :tag "Variable") |
| @@ -822,12 +822,12 @@ If nil, no mode line indicator will be displayed." | |||
| 822 | 822 | ||
| 823 | (defface so-long-mode-line-active | 823 | (defface so-long-mode-line-active |
| 824 | '((t :inherit mode-line-emphasis)) | 824 | '((t :inherit mode-line-emphasis)) |
| 825 | "Face for `so-long-mode-line-info' when mitigations are active." | 825 | "Face for `so-long-mode-line-info' when mitigation is active." |
| 826 | :package-version '(so-long . "1.0")) | 826 | :package-version '(so-long . "1.0")) |
| 827 | 827 | ||
| 828 | (defface so-long-mode-line-inactive | 828 | (defface so-long-mode-line-inactive |
| 829 | '((t :inherit mode-line-inactive)) | 829 | '((t :inherit mode-line-inactive)) |
| 830 | "Face for `so-long-mode-line-info' when mitigations have been reverted." | 830 | "Face for `so-long-mode-line-info' when mitigation has been reverted." |
| 831 | :package-version '(so-long . "1.0")) | 831 | :package-version '(so-long . "1.0")) |
| 832 | 832 | ||
| 833 | ;; Modes that go slowly and line lengths excessive | 833 | ;; Modes that go slowly and line lengths excessive |
| @@ -983,7 +983,7 @@ Displayed as part of `mode-line-misc-info'. | |||
| 983 | 983 | ||
| 984 | `so-long-mode-line-label' defines the text to be displayed (if any). | 984 | `so-long-mode-line-label' defines the text to be displayed (if any). |
| 985 | 985 | ||
| 986 | Face `so-long-mode-line-active' is used while mitigations are active, and | 986 | Face `so-long-mode-line-active' is used while mitigation is active, and |
| 987 | `so-long-mode-line-inactive' is used if `so-long-revert' is called. | 987 | `so-long-mode-line-inactive' is used if `so-long-revert' is called. |
| 988 | 988 | ||
| 989 | Not displayed when `so-long-mode' is enabled, as the major mode construct | 989 | Not displayed when `so-long-mode' is enabled, as the major mode construct |
| @@ -1659,7 +1659,7 @@ Equivalent to calling (global-so-long-mode 0)" | |||
| 1659 | 1659 | ||
| 1660 | ;;;###autoload | 1660 | ;;;###autoload |
| 1661 | (define-minor-mode global-so-long-mode | 1661 | (define-minor-mode global-so-long-mode |
| 1662 | "Toggle automated performance mitigations for files with long lines. | 1662 | "Toggle automated performance mitigation for files with long lines. |
| 1663 | 1663 | ||
| 1664 | Many Emacs modes struggle with buffers which contain excessively long lines, | 1664 | Many Emacs modes struggle with buffers which contain excessively long lines, |
| 1665 | and may consequently cause unacceptable performance issues. | 1665 | and may consequently cause unacceptable performance issues. |
| @@ -1861,11 +1861,11 @@ If it appears in `%s', you should remove it." | |||
| 1861 | ; LocalWords: initialized profiler boolean minified pre redisplay config keymap | 1861 | ; LocalWords: initialized profiler boolean minified pre redisplay config keymap |
| 1862 | ; LocalWords: noerror selectable mapc sgml nxml hl flydiff defs arg Phil Sainty | 1862 | ; LocalWords: noerror selectable mapc sgml nxml hl flydiff defs arg Phil Sainty |
| 1863 | ; LocalWords: defadvice nadvice whitespace ie bos eos eobp origmode un Un setq | 1863 | ; LocalWords: defadvice nadvice whitespace ie bos eos eobp origmode un Un setq |
| 1864 | ; LocalWords: docstring auf wiedersehen longlines alist autoload Refactored Inc | 1864 | ; LocalWords: docstring auf Wiedersehen longlines alist autoload Refactored Inc |
| 1865 | ; LocalWords: MERCHANTABILITY RET REGEXP VAR ELPA WS mitigations EmacsWiki eval | 1865 | ; LocalWords: MERCHANTABILITY RET REGEXP VAR ELPA WS EmacsWiki eval |
| 1866 | ; LocalWords: rx filename filenames | 1866 | ; LocalWords: rx filename filenames |
| 1867 | 1867 | ||
| 1868 | ;; So long, farewell, auf wiedersehen, goodbye | 1868 | ;; So long, farewell, auf Wiedersehen, goodbye |
| 1869 | ;; You have to go, this code is minified | 1869 | ;; You have to go, this code is minified |
| 1870 | ;; Goodbye! | 1870 | ;; Goodbye! |
| 1871 | 1871 | ||
diff --git a/lisp/subr.el b/lisp/subr.el index ca5af0f0ab7..1b2a1d643fb 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1572,7 +1572,7 @@ be a list of the form returned by `event-start' and `event-end'." | |||
| 1572 | ;; individual bytes at known offsets from the string beginning. | 1572 | ;; individual bytes at known offsets from the string beginning. |
| 1573 | ;; (make-obsolete 'string-to-unibyte "use `encode-coding-string'." "26.1") | 1573 | ;; (make-obsolete 'string-to-unibyte "use `encode-coding-string'." "26.1") |
| 1574 | ;; string-to-multibyte is also sometimes useful (and there's no good | 1574 | ;; string-to-multibyte is also sometimes useful (and there's no good |
| 1575 | ;; general replacement for it), so it's also been unobsoleted in Emacs 27.1. | 1575 | ;; general replacement for it), so it's also been revived in Emacs 27.1. |
| 1576 | ;; (make-obsolete 'string-to-multibyte "use `decode-coding-string'." "26.1") | 1576 | ;; (make-obsolete 'string-to-multibyte "use `decode-coding-string'." "26.1") |
| 1577 | ;; bug#23850 | 1577 | ;; bug#23850 |
| 1578 | (make-obsolete 'string-as-unibyte "use `encode-coding-string'." "26.1") | 1578 | (make-obsolete 'string-as-unibyte "use `encode-coding-string'." "26.1") |
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 1ce4b98fd1b..c33fb174a58 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el | |||
| @@ -634,7 +634,7 @@ Signal an error if the entire string was not used." | |||
| 634 | (defun number-at-point () | 634 | (defun number-at-point () |
| 635 | "Return the number at point, or nil if none is found. | 635 | "Return the number at point, or nil if none is found. |
| 636 | Decimal numbers like \"14\" or \"-14.5\", as well as hex numbers | 636 | Decimal numbers like \"14\" or \"-14.5\", as well as hex numbers |
| 637 | like \"0xBEEF09\" or \"#xBEEF09\", are regognized." | 637 | like \"0xBEEF09\" or \"#xBEEF09\", are recognized." |
| 638 | (when (thing-at-point-looking-at | 638 | (when (thing-at-point-looking-at |
| 639 | "\\(-?[0-9]+\\.?[0-9]*\\)\\|\\(0x\\|#x\\)\\([a-zA-Z0-9]+\\)" 500) | 639 | "\\(-?[0-9]+\\.?[0-9]*\\)\\|\\(0x\\|#x\\)\\([a-zA-Z0-9]+\\)" 500) |
| 640 | (if (match-beginning 1) | 640 | (if (match-beginning 1) |