Skip to content

Commit

Permalink
compile-multi: Add grip target generator for markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mohkale committed Aug 28, 2023
1 parent 6ee9e27 commit 25de285
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -6158,6 +6158,12 @@
("emacs:bytecompile" . ,#'byte-compile-this-file+)
("emacs:package-lint" . ,#'package-lint-current-buffer)
("emacs:checkdoc" . ,#'checkdoc))
compile-multi-config)

(push `((and buffer-file-name
(derived-mode-p 'markdown-mode)
(executable-find "grip" 'remote))
("markdown:grip" "grip" (string-remove-prefix (or (file-remote-p (buffer-file-name)) "") (buffer-file-name))))
compile-multi-config))
#+end_src

Expand Down

0 comments on commit 25de285

Please sign in to comment.