emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/popup a49ffd0 081/184: Rename :initial-cursor keyword opti


From: ELPA Syncer
Subject: [nongnu] elpa/popup a49ffd0 081/184: Rename :initial-cursor keyword option to :cursor.
Date: Wed, 6 Oct 2021 00:01:12 -0400 (EDT)

branch: elpa/popup
commit a49ffd06eab248fb16121acd82e7958a3725281b
Author: Tomohiro Matsuyama <tomo@cx4a.org>
Commit: Tomohiro Matsuyama <tomo@cx4a.org>

    Rename :initial-cursor keyword option to :cursor.
---
 popup.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/popup.el b/popup.el
index 8f0a747..5c3af45 100644
--- a/popup.el
+++ b/popup.el
@@ -1240,7 +1240,6 @@ PROMPT is a prompt string when reading events during 
event loop."
                      (around t)
                      (width (popup-preferred-width list))
                      (height 15)
-                     initial-cursor
                      margin
                      margin-left
                      margin-right
@@ -1248,6 +1247,7 @@ PROMPT is a prompt string when reading events during 
event loop."
                      symbol
                      parent
                      parent-offset
+                     cursor
                      (keymap popup-menu-keymap)
                      (fallback 'popup-menu-fallback)
                      help-delay
@@ -1314,8 +1314,8 @@ isearch canceled. The arguments is whole filtered list of 
items."
   (unwind-protect
       (progn
         (popup-set-list menu list)
-        (if initial-cursor
-            (popup-jump menu initial-cursor)
+        (if cursor
+            (popup-jump menu cursor)
           (popup-draw menu))
         (if nowait
             menu



reply via email to

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