aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-07-15 05:30:28 -0400
committerEli Zaretskii2023-07-15 05:30:28 -0400
commit77fa417d108fbc4bb6b1017120eca958785becaa (patch)
treee171f679ebabe325e8cfd6c022213646aadca562
parentf2a8e4ceb48c12a32cdc63931f9625a0df3c4ff6 (diff)
parentd09de2f49d708f73e7397273a254a7775c294d05 (diff)
downloademacs-77fa417d108fbc4bb6b1017120eca958785becaa.tar.gz
emacs-77fa417d108fbc4bb6b1017120eca958785becaa.zip
Merge from origin/emacs-29
d09de2f49d7 Ignore quit while getting interprogram paste in kill-new afdf54a5313 * lisp/progmodes/gdb-mi.el: Fix interactive invocation of... b54febef5d7 Fix NetBSD build with and without ncurses c5fb7301599 ; * lisp/paren.el (show-paren-function): Fix last change ... ea696ea4b9a ; Fix last change. b0181dafb9e Improve documentation of 'enable-local-variables' in Emac... eb7c45ca43f ; Fix copy-paste in Widget Manual (Bug#64610) aedbc3006e1 ; * doc/misc/eshell.texi (Aliases): Remove stray "@end ta... 673992d28e2 ; * lisp/progmodes/sql.el (sql-interactive-mode): Remove ...
-rw-r--r--configure.ac6
-rw-r--r--doc/emacs/custom.texi8
-rw-r--r--doc/misc/eshell.texi2
-rw-r--r--doc/misc/widget.texi4
-rw-r--r--lisp/paren.el5
-rw-r--r--lisp/progmodes/gdb-mi.el2
-rw-r--r--lisp/progmodes/sql.el2
-rw-r--r--lisp/simple.el10
8 files changed, 23 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac
index a51aa44cf2c..38ff6e18daf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5174,7 +5174,11 @@ fail;
5174 ;; 5174 ;;
5175 5175
5176 netbsd) 5176 netbsd)
5177 if test "x$LIBS_TERMCAP" != "x-lterminfo"; then 5177 # NetBSD versions prior to 6.0 lack native terminfo, but have a
5178 # tputs() built on top of termcap in these libraries. Use native
5179 # termcap instead in this case. NetBSD >= 6.0 has native terminfo
5180 # implementation in -lterminfo.
5181 if test "x$LIBS_TERMCAP" = "x-ltermcap" -o "x$LIBS_TERMCAP" = "x-lcurses"; then
5178 TERMINFO=no 5182 TERMINFO=no
5179 LIBS_TERMCAP="-ltermcap" 5183 LIBS_TERMCAP="-ltermcap"
5180 fi 5184 fi
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index d8221f51425..d2d51e344dd 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -1368,9 +1368,11 @@ can include remote directories as well (@pxref{Remote Files}).
1368way Emacs processes local variables. Its default value is @code{t}, 1368way Emacs processes local variables. Its default value is @code{t},
1369which specifies the behavior described above. If it is @code{nil}, 1369which specifies the behavior described above. If it is @code{nil},
1370Emacs simply ignores all file local variables. @code{:safe} means use 1370Emacs simply ignores all file local variables. @code{:safe} means use
1371only the safe values and ignore the rest. Any other value says to 1371only the safe values and ignore the rest. @code{:all} instructs Emacs
1372query you about each file that has local variables, without trying to 1372to set all file local variables regardless of whether their value is
1373determine whether the values are known to be safe. 1373safe or not (we advise not to use this permanently). Any other value
1374says to query you about each file that has local variables, without
1375trying to determine whether the values are known to be safe.
1374 1376
1375@vindex enable-local-eval 1377@vindex enable-local-eval
1376@vindex safe-local-eval-forms 1378@vindex safe-local-eval-forms
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index 9b9268ae4ea..099bf3e9809 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -1092,8 +1092,6 @@ the alias. This lets you selectively use an alias's arguments, so
1092@kbd{alias mcd 'mkdir $1 && cd $1'} would cause @kbd{mcd foo} to 1092@kbd{alias mcd 'mkdir $1 && cd $1'} would cause @kbd{mcd foo} to
1093create and switch to a directory called @samp{foo}. 1093create and switch to a directory called @samp{foo}.
1094 1094
1095@end table
1096
1097@node Remote Access 1095@node Remote Access
1098@section Remote Access 1096@section Remote Access
1099@cmindex remote access 1097@cmindex remote access
diff --git a/doc/misc/widget.texi b/doc/misc/widget.texi
index 4ac57a95a43..13b37ab5b54 100644
--- a/doc/misc/widget.texi
+++ b/doc/misc/widget.texi
@@ -1600,9 +1600,7 @@ when the widget is created, and on any value set later with
1600@item :value-to-external 1600@item :value-to-external
1601Function to convert the value to the external format. The function 1601Function to convert the value to the external format. The function
1602takes two arguments, a widget and an internal value, and returns the 1602takes two arguments, a widget and an internal value, and returns the
1603external value. The function is called on the present @code{:value} 1603external value.
1604when the widget is created, and on any value set later with
1605@code{widget-value-set}.
1606 1604
1607@vindex create@r{ keyword} 1605@vindex create@r{ keyword}
1608@item :create 1606@item :create
diff --git a/lisp/paren.el b/lisp/paren.el
index 54a2c23f17f..6296d7e67fa 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -515,10 +515,9 @@ It is the default value of `show-paren-data-function'."
515 ;; ...or partially visible, and the 515 ;; ...or partially visible, and the
516 ;; invisible part is less than 1/4th 516 ;; invisible part is less than 1/4th
517 ;; of the default font height 517 ;; of the default font height
518 (or (< (length part) 4) 518 (and (>= (length part) 4)
519 (and
520 (< (nth 2 part) dfh4) 519 (< (nth 2 part) dfh4)
521 (< (nth 3 part) dfh4))))))) 520 (< (nth 3 part) dfh4))))))
522 (let ((context (blink-paren-open-paren-line-string 521 (let ((context (blink-paren-open-paren-line-string
523 openparen)) 522 openparen))
524 (message-log-max nil)) 523 (message-log-max nil))
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 199be3318a1..a1091de43e9 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -987,7 +987,7 @@ detailed description of this mode.
987 "\C-u" "Continue to current line or address.") 987 "\C-u" "Continue to current line or address.")
988 (gud-def 988 (gud-def
989 gud-go (progn 989 gud-go (progn
990 (when arg 990 (when (and current-prefix-arg arg)
991 (gud-call (concat "-exec-arguments " 991 (gud-call (concat "-exec-arguments "
992 (read-string "Arguments to exec-run: ")))) 992 (read-string "Arguments to exec-run: "))))
993 (gud-call 993 (gud-call
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index c6667c075f6..89d62ab3a61 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -4200,7 +4200,7 @@ must tell Emacs. Here's how to do that in your init file:
4200 4200
4201(put 'sql-interactive-mode 'mode-class 'special) 4201(put 'sql-interactive-mode 'mode-class 'special)
4202(put 'sql-interactive-mode 'custom-mode-group 'SQL) 4202(put 'sql-interactive-mode 'custom-mode-group 'SQL)
4203;; FIXME: Why not use `define-derived-mode'? 4203
4204(define-derived-mode sql-interactive-mode comint-mode "SQLi[?]" 4204(define-derived-mode sql-interactive-mode comint-mode "SQLi[?]"
4205 "Major mode to use a SQL interpreter interactively. 4205 "Major mode to use a SQL interpreter interactively.
4206 4206
diff --git a/lisp/simple.el b/lisp/simple.el
index e31ef026ad5..54e71e1b040 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -5651,8 +5651,14 @@ argument should still be a \"useful\" string for such uses."
5651 (if (fboundp 'menu-bar-update-yank-menu) 5651 (if (fboundp 'menu-bar-update-yank-menu)
5652 (menu-bar-update-yank-menu string (and replace (car kill-ring))))) 5652 (menu-bar-update-yank-menu string (and replace (car kill-ring)))))
5653 (when save-interprogram-paste-before-kill 5653 (when save-interprogram-paste-before-kill
5654 (let ((interprogram-paste (and interprogram-paste-function 5654 (let ((interprogram-paste
5655 (funcall interprogram-paste-function)))) 5655 (and interprogram-paste-function
5656 ;; On X, the selection owner might be slow, so the user might
5657 ;; interrupt this. If they interrupt it, we want to continue
5658 ;; so we become selection owner, so this doesn't stay slow.
5659 (if (eq (window-system) 'x)
5660 (ignore-error 'quit (funcall interprogram-paste-function))
5661 (funcall interprogram-paste-function)))))
5656 (when interprogram-paste 5662 (when interprogram-paste
5657 (setq interprogram-paste 5663 (setq interprogram-paste
5658 (if (listp interprogram-paste) 5664 (if (listp interprogram-paste)