   (bind-keys :map pdf-view-mode-map
              ("j" . pdf-view-next-line-or-next-page)
              ("k" . pdf-view-previous-line-or-previous-page))
-  (add-hook 'pdf-view-mode-hook
-            (lambda ()
-              (pdf-misc-size-indication-minor-mode)
-              (pdf-links-minor-mode)
-              (pdf-isearch-minor-mode)))
+  (add-hook 'pdf-tools-enabled-hook (lambda ()
+                                      (pdf-tools-disable-minor-modes
+                                       '(pdf-misc-size-indication-minor-mode))))
   (defun my-pdf-multi-extract (sources)
-    "Helper function to print highlighted text from a list of pdf's, with one org header per pdf, 
+    "Helper function to print highlighted text from a list of pdf's, with one org header per pdf,
 and links back to page of highlight."
     (let ((output ""))
       (dolist (thispdf sources)

(use-package c-eldoc
  :commands (c-turn-on-eldoc-mode)
  :config
  (setq c-eldoc-buffer-regenerate-time 15)
  )

(use-package cc-mode
  :bind ("M-RET" . c-indent-new-comment-line)

            (- bottom1 (/ (- bottom1 top1) 2 )))))
  (defun pdf-annot-markups-as-org-text (pdfpath &optional title level)
    "Acquire highligh annotations as text, and return as org-heading"
    (interactive "fPath to PDF: ")
    (let* ((outputstring "") ;; the text to be returned
           (title (or title (replace-regexp-in-string "-" " " (file-name-base pdfpath ))))
           (level (or level (1+ (org-current-level)))) ;; I guess if we're not in an org-buffer this will fail
