Skip to content

Commit 3a54d3e

Browse files
committed
docs(documentation): regenerate the documentation
1 parent b6140c3 commit 3a54d3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/DOCS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,12 @@ Execute BODY after FEATURES have been loaded.
417417

418418
Hook BODY in HOOK, and make it run only once.
419419

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+
420426
#### `(+make-first-file-hook! FILETYPE EXT-REGEXP)` (macro)
421427

422428
Make a hook which run on the first FILETYPE file of a particular extensions.

0 commit comments

Comments
 (0)