-
-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
How can I write an embark-target-this-file and embark-target-this-buffer that act on the current file/buffer? I have a bunch of functions like load-this-file, byte-compile-this-file, sudo-this-file and built-in ones like diff-buffer-with-file that I would like to call using embark directly. Right now I do dired-jump, then call embark on the current file.
These target finders should, of course, have a lower priority than embark-target-active-region, embark-target-file-at-point etc, so they're only activated if all the other target finders fail.
oantolin
Metadata
Metadata
Assignees
Labels
No labels