tools/gist: conform to new conventions
This commit is contained in:
parent
287e61a72c
commit
a264185f74
1 changed files with 3 additions and 3 deletions
|
@ -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))
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue