[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole cbcca9d 1/3: hkey-either function - make arg
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole cbcca9d 1/3: hkey-either function - make arg optional so can call by name only |
Date: |
Sun, 8 Aug 2021 11:57:12 -0400 (EDT) |
branch: externals/hyperbole
commit cbcca9d1bc2c4cf4f497ac35d597a167cb3bd27a
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>
hkey-either function - make arg optional so can call by name only
---
ChangeLog | 5 +++++
hmouse-drv.el | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 10714a4..89d0922 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-07-17 Bob Weiner <rsw@gnu.org>
+
+* hmouse-drv.el (hkey-either): Made prefix arg optional so can call
programmatically
+ without an arg just by name.
+
2021-07-11 Mats Lidell <matsl@gnu.org>
* test/hbut-tests.el (gbut-program-calls-ebut-program)
diff --git a/hmouse-drv.el b/hmouse-drv.el
index 8795039..0ca6b14 100644
--- a/hmouse-drv.el
+++ b/hmouse-drv.el
@@ -340,7 +340,7 @@ bound to a valid function."
(funcall assist-key-default-function)
t)))
-(defun hkey-either (arg)
+(defun hkey-either (&optional arg)
"Execute `action-key' or with non-nil ARG execute `assist-key'."
(interactive "P")
(when (and (featurep 'hycontrol)