emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 cb8c87a423a: Allow active region when IM is used


From: Eli Zaretskii
Subject: emacs-29 cb8c87a423a: Allow active region when IM is used
Date: Fri, 7 Apr 2023 11:32:01 -0400 (EDT)

branch: emacs-29
commit cb8c87a423a4897d873180a9e9be99e2ec20488d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Allow active region when IM is used
    
    * lisp/international/quail.el (quail-minibuffer-message): Bind
    deactivate-mark to allow setting active region in the minibuffer
    when an input method is used.  (Bug#62709)
---
 lisp/international/quail.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index 2ffe3392335..317ea8495de 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -1995,7 +1995,8 @@ Remaining args are for FUNC."
 (defun quail-minibuffer-message (string)
   (message nil)
   (let ((point-max (point-max))
-       (inhibit-quit t))
+       (inhibit-quit t)
+        (deactivate-mark nil))
     (save-excursion
       (goto-char point-max)
       (insert string))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]