diff options
author | jao <jao@gnu.org> | 2025-09-27 19:32:02 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-09-27 19:32:02 +0100 |
commit | fd27d027d8c48045723914632d0a115eab52f7cd (patch) | |
tree | c1e31df0b8b1e0453212f453a2c6a3b8ecf58d13 /lib/doc/jao-pdf.el | |
parent | d5ba2e907bfafc5ce110fbce99a8e851649d0c9e (diff) | |
download | elibs-fd27d027d8c48045723914632d0a115eab52f7cd.tar.gz elibs-fd27d027d8c48045723914632d0a115eab52f7cd.tar.bz2 |
reading pdfs in a mac
Diffstat (limited to 'lib/doc/jao-pdf.el')
-rw-r--r-- | lib/doc/jao-pdf.el | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/lib/doc/jao-pdf.el b/lib/doc/jao-pdf.el index 15e403a..f855143 100644 --- a/lib/doc/jao-pdf.el +++ b/lib/doc/jao-pdf.el @@ -106,20 +106,9 @@ (cmd (format "xdotool windowactivate %s%s" id page))) (jao-shell-exec cmd t))))) -;;; DevonThink - -(jao-when-darwin - (require 'jao-devon) - - (defun jao-pdf-open-in-devon (file &optional page height) - (let ((url (jao-devon-find-url file))) - (if (string-empty-p (or url "")) - (let ((jao-browse-doc-use-emacs-p t)) - (jao-find-or-open file page height)) - (let* ((p (if page (format "?page=%s" (- page 1)) "")) - (u (format "%s%s" url p))) - (message "Opening %s ..." u) - (jao-shell-exec* t "open" u)))))) +;;; Mac + +(jao-when-darwin (require 'jao-mac)) ;;; Open doc functions |