monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 1d0d1ac642e1acc6db859458dfcb7a151d657ac1
Author: Leo Liu <[email protected]>
Date: Sat Apr 17 12:50:55 2010 +0100
Support darwin.
* tex.el (TeX-view-program-list-builtin)
(TeX-view-program-selection): Enable commented code to support
darwin system.
---
ChangeLog | 4 ++++
tex.el | 22 +++++++++-------------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2b11e29..ba42e47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
`outline-regexp'. See bug report
http://permalink.gmane.org/gmane.emacs.auctex.bugs/1648.
+ * tex.el (TeX-view-program-list-builtin)
+ (TeX-view-program-selection): Enable commented code to support
+ darwin system.
+
2013-04-08 Tassilo Horn <[email protected]>
* latex.el (LaTeX-style-list): Correct docstring.
diff --git a/tex.el b/tex.el
index 8a90e83..f7607b3 100644
--- a/tex.el
+++ b/tex.el
@@ -1091,13 +1091,11 @@ the requirements are met."
'(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o"))
("dvips and start" "dvips %d -o && start \"\" %f")
("start" "start \"\" %o")))
-;; XXX: We need the advice of a Mac OS X user to configure this
-;; correctly and test it.
-;; ((eq system-type 'darwin)
-;; '(("Preview.app" "open -a Preview.app %o")
-;; ("Skim" "open -a Skim.app %o")
-;; ("displayline" "displayline %n %o %b")
-;; ("open" "open %o")))
+ ((eq system-type 'darwin)
+ '(("Preview.app" "open -a Preview.app %o")
+ ("Skim" "open -a Skim.app %o")
+ ("displayline" "displayline %n %o %b")
+ ("open" "open %o")))
(t
`(("xdvi" ("%(o?)xdvi"
(mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"")
@@ -1204,12 +1202,10 @@ restarting Emacs."
(output-dvi "Yap")
(output-pdf "start")
(output-html "start")))
-;; XXX: We need the advice of a Mac OS X user to configure this
-;; correctly and test it.
-;; ((eq system-type 'darwin)
-;; '((output-dvi "open")
-;; (output-pdf "open")
-;; (output-html "open")))
+ ((eq system-type 'darwin)
+ '((output-dvi "open")
+ (output-pdf "open")
+ (output-html "open")))
(t
'(((output-dvi style-pstricks) "dvips and gv")
(output-dvi "xdvi")