mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
General refactor, cleanup & commenting
This commit is contained in:
@ -4,10 +4,13 @@
|
||||
(defun +gist/open-current ()
|
||||
(interactive)
|
||||
(gist-fetch-current)
|
||||
(doom/popup-close-all))
|
||||
(when-let (win (get-buffer-window "*github:gists*"))
|
||||
(doom/popup-close win)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +gist/kill-cache ()
|
||||
"Clears the gist cache. Necessary when a faulty cache causes gist.el to be
|
||||
entirely unuseable."
|
||||
(interactive)
|
||||
(delete-directory (expand-file-name "gh" pcache-directory) t)
|
||||
(message "gist.el cache cleared"))
|
||||
|
Reference in New Issue
Block a user