diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2019-08-14 04:29:57 -0400 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2019-08-14 04:29:57 -0400 |
| commit | 6e555e763567c66ad8e50724a7dd5e286dbb1e65 (patch) | |
| tree | 86fb29daa274d8007063babec826719154bf087e /hact.el | |
| parent | 98a5ecb3bf80f2b53523c769459d1a1a49491125 (diff) | |
| parent | 332ef336a7ad87e25c0563bfeaf0e6758d52c59c (diff) | |
Merge remote-tracking branch 'hyperbole/master' into externals/hyperbolescratch/hyperbole-lexbind
Diffstat (limited to 'hact.el')
| -rw-r--r-- | hact.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -259,9 +259,10 @@ Other paths are simply expanded. Non-path arguments are returned unchanged." ;;; ======================================================================== (defmacro hact (&rest args) - "Performs action formed from rest of ARGS. + "Performs action formed from rest of ARGS and returns the result or acts as a no-op when testing implicit button type contexts. First arg may be a symbol or symbol name for either an action type or a -function. Runs `action-act-hook' before performing action." +function. Runs `action-act-hook' before performing action. +The value of `hrule:action' determines what effect this has." (eval `(cons 'funcall (cons 'hrule:action ',args)))) (defun actype:act (actype &rest args) |
