From 86f5dd842e6b6fca63becbe693787d62a2ee5439 Mon Sep 17 00:00:00 2001 From: John Hammond Date: Tue, 27 Apr 2021 09:38:54 -0500 Subject: [PATCH] Remove the -g background flag on Skim.app The Skim.app `displayline` command takes the flag `-g` which is "Do not bring Skim to the foreground" when viewing the pdf results of the latex build, bringing skim to the foreground saves an `Alt+Tab` to open the app that I was intending to lauch by the auctex View command. --- modules/lang/latex/+viewers.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/latex/+viewers.el b/modules/lang/latex/+viewers.el index 2d87bfeae..be5441a85 100644 --- a/modules/lang/latex/+viewers.el +++ b/modules/lang/latex/+viewers.el @@ -14,7 +14,7 @@ "~/Applications/Skim.app")))) (add-to-list 'TeX-view-program-selection '(output-pdf "Skim")) (add-to-list 'TeX-view-program-list - (list "Skim" (format "%s/Contents/SharedSupport/displayline -b -g %%n %%o %%b" + (list "Skim" (format "%s/Contents/SharedSupport/displayline -b %%n %%o %%b" app-path))))) (`sumatrapdf