mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/gist: conform to new conventions
This commit is contained in:
@ -9,8 +9,8 @@
|
||||
|
||||
(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)
|
||||
(unless (cadr args)
|
||||
(pop-to-buffer (current-buffer))))
|
||||
(advice-add #'gist-list-render :around #'+gist*list-render))
|
||||
(pop-to-buffer (current-buffer)))))
|
||||
|
Reference in New Issue
Block a user