Skip to content

Commit

Permalink
fix(popup): show reftex-citation in popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Quoc Huy Vu authored and Henrik Lissner committed Nov 18, 2021
1 parent d67060e commit 3d91c9a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/ui/popup/+hacks.el
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,14 @@ the command buffer."
(when (+popup-window-p win)
(select-window win))))


;;;###package latex
(defadvice! +popup--use-popup-window-for-reftex-citation-a (fn &rest args)
:around #'reftex-do-citation
(letf! ((#'switch-to-buffer-other-window #'pop-to-buffer))
(apply fn args)))


;;;###package org
(after! org
(defadvice! +popup--suppress-delete-other-windows-a (fn &rest args)
Expand Down

0 comments on commit 3d91c9a

Please sign in to comment.