emacs-diffs
[Top][All Lists]
Advanced

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

master 7cee796556: Merge from origin/emacs-28


From: Stefan Kangas
Subject: master 7cee796556: Merge from origin/emacs-28
Date: Mon, 21 Mar 2022 01:49:47 -0400 (EDT)

branch: master
commit 7cee79655656f02c36fb2858eccce477b7d90b6b
Merge: a379f50acb f15922a57c
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Merge from origin/emacs-28
    
    f15922a57c Update to Org 9.5.2-25-gaf6f12
    9fcdd5b63f Improve doc strings of read-char-from-minibuffer-insert-* ...
---
 lisp/org/org-mouse.el   |  2 +-
 lisp/org/org-version.el |  2 +-
 lisp/subr.el            | 10 ++++++----
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/lisp/org/org-mouse.el b/lisp/org/org-mouse.el
index 8d5be42545..20c20acc32 100644
--- a/lisp/org/org-mouse.el
+++ b/lisp/org/org-mouse.el
@@ -295,7 +295,7 @@ nor a function, elements of KEYWORDS are used directly."
              ((functionp itemformat) (funcall itemformat keyword))
              ((stringp itemformat) (format itemformat keyword))
              (t keyword))
-            (list 'funcall function keyword)
+            `(funcall #',function ,keyword)
             :style (cond
                     ((null selected) t)
                     ((functionp selected) 'toggle)
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el
index a38b79304e..e82dbbf398 100644
--- a/lisp/org/org-version.el
+++ b/lisp/org/org-version.el
@@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made."
 (defun org-git-version ()
   "The Git version of Org mode.
 Inserted by installing Org or when a release is made."
-   (let ((org-git-version "release_9.5.2-24-g668205"))
+   (let ((org-git-version "release_9.5.2-25-gaf6f12"))
      org-git-version))
 
 (provide 'org-version)
diff --git a/lisp/subr.el b/lisp/subr.el
index 2321765f95..8aadcfd453 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3118,7 +3118,7 @@ If there is a natural number at point, use it as default."
   (make-hash-table :test 'equal))
 
 (defun read-char-from-minibuffer-insert-char ()
-  "Insert the character you type in the minibuffer and exit.
+  "Insert the character you type into the minibuffer and exit minibuffer.
 Discard all previous input before inserting and exiting the minibuffer."
   (interactive)
   (when (minibufferp)
@@ -3127,9 +3127,11 @@ Discard all previous input before inserting and exiting 
the minibuffer."
     (exit-minibuffer)))
 
 (defun read-char-from-minibuffer-insert-other ()
-  "Handle inserting of a character other than allowed.
-Display an error on trying to insert a disallowed character.
-Also discard all previous input in the minibuffer."
+  "Reject a disallowed character typed into the minibuffer.
+This command is intended to be bound to keys that users are not
+allowed to type into the minibuffer.  When the user types any
+such key, this command discard all minibuffer input and displays
+an error message."
   (interactive)
   (when (minibufferp)
     (delete-minibuffer-contents)



reply via email to

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