aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/syntax.el6
-rw-r--r--lisp/filenotify.el2
-rw-r--r--lisp/frame.el2
-rw-r--r--lisp/org/org-element.el2
-rw-r--r--lisp/org/org.el4
-rw-r--r--lisp/progmodes/flymake.el4
-rw-r--r--lisp/progmodes/grep.el2
-rw-r--r--lisp/term.el4
-rw-r--r--lisp/textmodes/flyspell.el4
9 files changed, 17 insertions, 13 deletions
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index 6106720f7a5..ad1a9665ff0 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -363,12 +363,6 @@ An \"outermost position\" means one that it is outside of any syntactic entity:
363outside of any parentheses, comments, or strings encountered in the scan. 363outside of any parentheses, comments, or strings encountered in the scan.
364If no such position is recorded in PPSS (because the end of the scan was 364If no such position is recorded in PPSS (because the end of the scan was
365itself at the outermost level), return nil." 365itself at the outermost level), return nil."
366 ;; BEWARE! We rely on the undocumented 9th field. The 9th field currently
367 ;; contains the list of positions of the enclosing open-parens.
368 ;; I.e. those positions are outside of any string/comment and the first of
369 ;; those is outside of any paren (i.e. corresponds to a nil ppss).
370 ;; If this list is empty but we are in a string or comment, then the 8th
371 ;; field contains a similar "toplevel" position.
372 (or (car (nth 9 ppss)) 366 (or (car (nth 9 ppss))
373 (nth 8 ppss))) 367 (nth 8 ppss)))
374 368
diff --git a/lisp/filenotify.el b/lisp/filenotify.el
index 5d37f39a70b..59a8c0e88aa 100644
--- a/lisp/filenotify.el
+++ b/lisp/filenotify.el
@@ -423,7 +423,7 @@ DESCRIPTOR should be an object returned by `file-notify-add-watch'."
423 423
424;; TODO: 424;; TODO:
425;; * Watching a /dir/file may receive events for dir. 425;; * Watching a /dir/file may receive events for dir.
426;; (This may be the desired behaviour.) 426;; (This may be the desired behavior.)
427;; * Watching a file in an already watched directory 427;; * Watching a file in an already watched directory
428;; If the file is created and *then* a watch is added to that file, the 428;; If the file is created and *then* a watch is added to that file, the
429;; watch might receive events which occurred prior to it being created, 429;; watch might receive events which occurred prior to it being created,
diff --git a/lisp/frame.el b/lisp/frame.el
index 0ed7d6a64f1..0cf502d5066 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -2439,7 +2439,7 @@ See also `toggle-frame-maximized'."
2439 frame `((fullscreen . fullboth) (fullscreen-restore . ,fullscreen)))) 2439 frame `((fullscreen . fullboth) (fullscreen-restore . ,fullscreen))))
2440 ;; Manipulating a frame without waiting for the fullscreen 2440 ;; Manipulating a frame without waiting for the fullscreen
2441 ;; animation to complete can cause a crash, or other unexpected 2441 ;; animation to complete can cause a crash, or other unexpected
2442 ;; behaviour, on macOS (bug#28496). 2442 ;; behavior, on macOS (bug#28496).
2443 (when (featurep 'cocoa) (sleep-for 0.5)))) 2443 (when (featurep 'cocoa) (sleep-for 0.5))))
2444 2444
2445 2445
diff --git a/lisp/org/org-element.el b/lisp/org/org-element.el
index 844349c2fc0..a63aae5329d 100644
--- a/lisp/org/org-element.el
+++ b/lisp/org/org-element.el
@@ -4721,7 +4721,7 @@ indentation removed from its contents."
4721;; Cache is enabled by default, but can be disabled globally with 4721;; Cache is enabled by default, but can be disabled globally with
4722;; `org-element-use-cache'. `org-element-cache-sync-idle-time', 4722;; `org-element-use-cache'. `org-element-cache-sync-idle-time',
4723;; org-element-cache-sync-duration' and `org-element-cache-sync-break' 4723;; org-element-cache-sync-duration' and `org-element-cache-sync-break'
4724;; can be tweaked to control caching behaviour. 4724;; can be tweaked to control caching behavior.
4725;; 4725;;
4726;; Internally, parsed elements are stored in an AVL tree, 4726;; Internally, parsed elements are stored in an AVL tree,
4727;; `org-element--cache'. This tree is updated lazily: whenever 4727;; `org-element--cache'. This tree is updated lazily: whenever
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 2f60a075055..3ec6b4eabe3 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -10641,7 +10641,7 @@ a timestamp or a link."
10641 (save-excursion 10641 (save-excursion
10642 ;; Do not validate action when point is on the 10642 ;; Do not validate action when point is on the
10643 ;; spaces right after the footnote label, in 10643 ;; spaces right after the footnote label, in
10644 ;; order to be on par with behaviour on links. 10644 ;; order to be on par with behavior on links.
10645 (skip-chars-forward " \t") 10645 (skip-chars-forward " \t")
10646 (let ((begin 10646 (let ((begin
10647 (org-element-property :contents-begin context))) 10647 (org-element-property :contents-begin context)))
@@ -10794,7 +10794,7 @@ there is one, return it."
10794 (cons link end))))) 10794 (cons link end)))))
10795 10795
10796;; TODO: These functions are deprecated since `org-open-at-point' 10796;; TODO: These functions are deprecated since `org-open-at-point'
10797;; hard-codes behaviour for "file+emacs" and "file+sys" types. 10797;; hard-codes behavior for "file+emacs" and "file+sys" types.
10798(defun org-open-file-with-system (path) 10798(defun org-open-file-with-system (path)
10799 "Open file at PATH using the system way of opening it." 10799 "Open file at PATH using the system way of opening it."
10800 (org-open-file path 'system)) 10800 (org-open-file path 'system))
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index a47f13fea35..56f43e4bb36 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -48,6 +48,10 @@
48(require 'thingatpt) ; end-of-thing 48(require 'thingatpt) ; end-of-thing
49(require 'warnings) ; warning-numeric-level, display-warning 49(require 'warnings) ; warning-numeric-level, display-warning
50(require 'compile) ; for some faces 50(require 'compile) ; for some faces
51;; We need the next require to avoid compiler warnings and run-time
52;; errors about mouse-wheel-up/down-event in builds --without-x, where
53;; mwheel is not preloaded.
54(require 'mwheel)
51;; when-let*, if-let*, hash-table-keys, hash-table-values: 55;; when-let*, if-let*, hash-table-keys, hash-table-values:
52(eval-when-compile (require 'subr-x)) 56(eval-when-compile (require 'subr-x))
53 57
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 9b2c6f112c6..dc74ad2de5f 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -1230,6 +1230,8 @@ file name to `*.gz', and sets `grep-highlight-matches' to `always'."
1230 (grep-find-template nil) 1230 (grep-find-template nil)
1231 (grep-find-command nil) 1231 (grep-find-command nil)
1232 (grep-host-defaults-alist nil) 1232 (grep-host-defaults-alist nil)
1233 ;; `zgrep' doesn't support the `--null' option.
1234 (grep-use-null-filename-separator nil)
1233 ;; Use for `grep-read-files' 1235 ;; Use for `grep-read-files'
1234 (grep-files-aliases '(("all" . "* .*") 1236 (grep-files-aliases '(("all" . "* .*")
1235 ("gz" . "*.gz")))) 1237 ("gz" . "*.gz"))))
diff --git a/lisp/term.el b/lisp/term.el
index a0313d88dac..cf7699abc94 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -487,7 +487,7 @@ inconsistent with the state of the terminal understood by the
487inferior process. Only the process filter is allowed to make 487inferior process. Only the process filter is allowed to make
488changes to the buffer. 488changes to the buffer.
489 489
490Customize this option to nil if you want the previous behaviour." 490Customize this option to nil if you want the previous behavior."
491 :version "26.1" 491 :version "26.1"
492 :type 'boolean 492 :type 'boolean
493 :group 'term) 493 :group 'term)
@@ -508,7 +508,7 @@ commands can be invoked on the mouse-selected point or region,
508until the process filter (or user) moves point to the process 508until the process filter (or user) moves point to the process
509mark once again. 509mark once again.
510 510
511Customize this option to nil if you want the previous behaviour." 511Customize this option to nil if you want the previous behavior."
512 :version "26.1" 512 :version "26.1"
513 :type 'boolean 513 :type 'boolean
514 :group 'term) 514 :group 'term)
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index d87cb5e72ed..e4626696262 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -1944,6 +1944,10 @@ spell-check."
1944 (call-interactively flyspell--prev-meta-tab-binding) 1944 (call-interactively flyspell--prev-meta-tab-binding)
1945 (let ((pos (point)) 1945 (let ((pos (point))
1946 (old-max (point-max))) 1946 (old-max (point-max)))
1947 ;; Flush a possibly stale cache from previous invocations of
1948 ;; flyspell-auto-correct-word.
1949 (if (not (eq last-command 'flyspell-auto-correct-word))
1950 (setq flyspell-auto-correct-region nil))
1947 ;; Use the correct dictionary. 1951 ;; Use the correct dictionary.
1948 (flyspell-accept-buffer-local-defs) 1952 (flyspell-accept-buffer-local-defs)
1949 (if (and (eq flyspell-auto-correct-pos pos) 1953 (if (and (eq flyspell-auto-correct-pos pos)