I have configured forward and backward search between Emacs and Skim (MacOS) for my LaTeX work. While the search works fine, every time I do an backward search from Skim, an additional shell buffer opens in Emacs besides my
.tex file. This is somewhat annoying and I would like to avoid it if possible. My backward search configuration as suggested on the Skim website is as follows:
;; Auto-raise Emacs on activation (defun raise-emacs-on-aqua() (shell-command "osascript -e 'tell application \"Emacs\" to activate' &")) (add-hook 'server-switch-hook 'raise-emacs-on-aqua)
How can I avoid the shell buffer from opening when I do backward search from Skim?