aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2020-06-01 22:26:32 -0700
committerPaul Eggert2020-06-01 22:26:32 -0700
commite10bd9e249bf70d0165a0cc050656ad94f34197d (patch)
tree7eb22d41a6e7aeb8757e883479bdc0f2b8ec1d45 /lisp
parent2c1e5b9e77d5da26cfb01917c25546e776c67789 (diff)
parent44c0e074f7cb84481785cb49515a4bd7235a074b (diff)
downloademacs-e10bd9e249bf70d0165a0cc050656ad94f34197d.tar.gz
emacs-e10bd9e249bf70d0165a0cc050656ad94f34197d.zip
Merge from origin/emacs-27
44c0e074f7 * doc/emacs/buffers.texi (Icomplete): Mention icomplete-mi... 68b6dad1d8 Be more aggressive in marking objects during GC 36f508f589 ; * src/xdisp.c (find_last_unchanged_at_beg_row): Fix a typo. cc340da1fe Fix bug #41618 "(byte-compile 'foo) errors when foo is a m... 41232e6797 Avoid crashes due to bidi cache being reset during redisplay f72bb4ce36 * lisp/tab-bar.el (switch-to-buffer-other-tab): Normalize ... d3e0023aaa ; * etc/TODO: Fix formatting. (Bug#41497) a8ad94cd2f Fix mingw.org's MinGW GCC 9 warning about 'execve' # Conflicts: # lisp/tab-bar.el # nt/inc/ms-w32.h # src/alloc.c
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el7
-rw-r--r--lisp/progmodes/cc-mode.el2
-rw-r--r--lisp/tab-bar.el7
3 files changed, 9 insertions, 7 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 72dbfd74b11..22e648e44ba 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2755,14 +2755,15 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2755 ;; Expand macros. 2755 ;; Expand macros.
2756 (setq fun (byte-compile-preprocess fun)) 2756 (setq fun (byte-compile-preprocess fun))
2757 (setq fun (byte-compile-top-level fun nil 'eval)) 2757 (setq fun (byte-compile-top-level fun nil 'eval))
2758 (if macro (push 'macro fun))
2759 (if (symbolp form) 2758 (if (symbolp form)
2760 ;; byte-compile-top-level returns an *expression* equivalent to the 2759 ;; byte-compile-top-level returns an *expression* equivalent to the
2761 ;; `fun' expression, so we need to evaluate it, tho normally 2760 ;; `fun' expression, so we need to evaluate it, tho normally
2762 ;; this is not needed because the expression is just a constant 2761 ;; this is not needed because the expression is just a constant
2763 ;; byte-code object, which is self-evaluating. 2762 ;; byte-code object, which is self-evaluating.
2764 (fset form (eval fun t)) 2763 (setq fun (eval fun t)))
2765 fun))))))) 2764 (if macro (push 'macro fun))
2765 (if (symbolp form) (fset form fun))
2766 fun))))))
2766 2767
2767(defun byte-compile-sexp (sexp) 2768(defun byte-compile-sexp (sexp)
2768 "Compile and return SEXP." 2769 "Compile and return SEXP."
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index b3b2374805d..4869f5c596d 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1621,7 +1621,7 @@ Note that the style variables are always made local to the buffer."
1621 (goto-char (1+ end)) ; After the \ 1621 (goto-char (1+ end)) ; After the \
1622 ;; Search forward for EOLL 1622 ;; Search forward for EOLL
1623 (setq lim (re-search-forward "\\(?:\\\\\\(?:.\\|\n\\)\\|[^\\\n\r]\\)*" 1623 (setq lim (re-search-forward "\\(?:\\\\\\(?:.\\|\n\\)\\|[^\\\n\r]\\)*"
1624 nil t)) 1624 nil t))
1625 (goto-char (1+ end)) 1625 (goto-char (1+ end))
1626 (when (c-search-forward-char-property-with-value-on-char 1626 (when (c-search-forward-char-property-with-value-on-char
1627 'syntax-table '(15) ?\" lim) 1627 'syntax-table '(15) ?\" lim)
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index d24d59cb7e8..76e7f8c33a2 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1554,9 +1554,10 @@ indirectly called by the latter."
1554Like \\[switch-to-buffer-other-frame] (which see), but creates a new tab." 1554Like \\[switch-to-buffer-other-frame] (which see), but creates a new tab."
1555 (interactive 1555 (interactive
1556 (list (read-buffer-to-switch "Switch to buffer in other tab: "))) 1556 (list (read-buffer-to-switch "Switch to buffer in other tab: ")))
1557 (display-buffer buffer-or-name '((display-buffer-in-tab) 1557 (display-buffer (window-normalize-buffer-to-switch-to buffer-or-name)
1558 (inhibit-same-window . nil) 1558 '((display-buffer-in-tab)
1559 (reusable-frames . t)) 1559 (inhibit-same-window . nil)
1560 (reusable-frames . t))
1560 norecord)) 1561 norecord))
1561 1562
1562(defun find-file-other-tab (filename &optional wildcards) 1563(defun find-file-other-tab (filename &optional wildcards)