We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6140c3 commit 3a54d3eCopy full SHA for 3a54d3e
docs/DOCS.md
@@ -417,6 +417,12 @@ Execute BODY after FEATURES have been loaded.
417
418
Hook BODY in HOOK, and make it run only once.
419
420
+#### `(+advice-once! FNS HOW &rest BODY)` (macro)
421
+
422
+Run BODY as a HOW advice for FNS, and make it run only once.
423
+FNS can be one function or a list of functions, quoted or not.
424
+Inside BODY, you will have access to the original args as `orig-args`.
425
426
#### `(+make-first-file-hook! FILETYPE EXT-REGEXP)` (macro)
427
428
Make a hook which run on the first FILETYPE file of a particular extensions.
0 commit comments