mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tools/gist: conform to new conventions
This commit is contained in:
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
(set-popup-rule! "^\\*gist-" :ignore t)
|
(set-popup-rule! "^\\*gist-" :ignore t)
|
||||||
|
|
||||||
(defun +gist*list-render (orig-fn &rest args)
|
(def-advice! +gist-list-render-a (orig-fn &rest args)
|
||||||
|
:around #'gist-list-render
|
||||||
(funcall orig-fn (car args) t)
|
(funcall orig-fn (car args) t)
|
||||||
(unless (cadr args)
|
(unless (cadr args)
|
||||||
(pop-to-buffer (current-buffer))))
|
(pop-to-buffer (current-buffer)))))
|
||||||
(advice-add #'gist-list-render :around #'+gist*list-render))
|
|
||||||
|
Reference in New Issue
Block a user