mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add tools/gist
This commit is contained in:
13
modules/tools/gist/autoload/gist.el
Normal file
13
modules/tools/gist/autoload/gist.el
Normal file
@ -0,0 +1,13 @@
|
||||
;;; tools/gist/autoload/gist.el
|
||||
|
||||
;;;###autoload
|
||||
(defun +gist/open-current ()
|
||||
(interactive)
|
||||
(gist-fetch-current)
|
||||
(doom/popup-close-all))
|
||||
|
||||
;;;###autoload
|
||||
(defun +gist/kill-cache ()
|
||||
(interactive)
|
||||
(delete-directory (expand-file-name "gh" pcache-directory) t)
|
||||
(message "gist.el cache cleared"))
|
Reference in New Issue
Block a user