 
 (use-package pdf-tools
   :if (not (bound-and-true-p disable-pkg-pdf-tools))
+  :preface
+  (progn
+    (defvar pdf-tools-github-version-name "pdf-tools-0.60"))
+  ;; :load-path "elisp/pdf-tools/pdf-tools-0.60"
   :config
   (progn
 


    (defun my/get-latest-pdf-tools-dir ()
      "Get the full directory path of the latest installed version of
pdf-tools package."
      (interactive)
      ;; Get a list of directories and files in `package-user-dir'
      (let ((my/package-dirs (directory-files package-user-dir)))
        ;; `break' implementation in elisp
        ;; http://ergoemacs.org/emacs/elisp_break_loop.html
        (catch 'break
          (dotimes (index (safe-length my/package-dirs))
            (let ((dir-name (pop my/package-dirs))
                  full-dir-name)
              ;; (message "%s" dir-name) ; debug
              ;; Find a directory name that matches "pdf-tools-*"
              (when (string-match "pdf\\-tools\\-.*" dir-name)
                (setq full-dir-name (concat package-user-dir "/" dir-name))
                ;; To ensure that the directory is valid, ensure that it
                ;; contains "pdf-tools.el"
                (when (locate-file "pdf-tools.el" (list full-dir-name))
                  ;; break the `dotimes' loop on finding this directory
                  ;; and return its full path
                  (throw 'break full-dir-name))))))))

    (defun my/pdf-tools-install ()
      (interactive)


(provide 'setup-pdf)

;; * =pdf-tools= package
;; ** How to install
;; - git clone https://github.com/politza/pdf-tools
;; - Install `poppler-glib' library if not present
;;   + poppler-glib ( http://poppler.freedesktop.org/ )
;;   + ./configure --prefix=$HOME/usr_local
;; - make -s
;; - make install-package
;; ** Useful key bindings
