[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pdf-tools bb0b71f5ba 2/2: Change the default value of `pdf
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pdf-tools bb0b71f5ba 2/2: Change the default value of `pdf-annot-list-highlight-type` |
Date: |
Sat, 23 Jul 2022 19:58:49 -0400 (EDT) |
branch: elpa/pdf-tools
commit bb0b71f5bafd81d0b5647c4ec48fafa0bb6f6c21
Author: Vedang Manerikar <ved.manerikar@gmail.com>
Commit: Vedang Manerikar <ved.manerikar@gmail.com>
Change the default value of `pdf-annot-list-highlight-type`
Use color when listing annotations by default, and allow users to turn
it off if required (switching the default boolean value)
---
lisp/pdf-annot.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el
index 4a8c2e9c71..81cb6392b2 100644
--- a/lisp/pdf-annot.el
+++ b/lisp/pdf-annot.el
@@ -50,7 +50,7 @@ The functions on this hook will be called when some
annotation is
activated, usually by a mouse-click. Each one is called with the
annotation as a single argument and it should return a non-nil
value if it has `handled' it. If no such function exists, the
-default handler `pdf-annot-default-handler' will be
+default handler `pdf-annot-default-activate-handler' will be
called.
This hook is meant to allow for custom annotations. FIXME:
@@ -293,7 +293,6 @@ Setting this after the package was loaded has no effect."
(smap (make-sparse-keymap)))
(define-key kmap pdf-annot-minor-mode-map-prefix smap)
(define-key smap "l" #'pdf-annot-list-annotations)
- ;; (define-key smap "d" 'pdf-annot-toggle-display-annotations)
(define-key smap "a" #'pdf-annot-attachment-dired)
(when (pdf-info-writable-annotations-p)
(define-key smap "D" #'pdf-annot-delete)
@@ -1574,7 +1573,7 @@ Currently supported properties are page, type, label,
date and contents."
(date (integer :value 24 :tag "Column Width"))
(contents (integer :value 56 :tag "Column Width"))))
-(defcustom pdf-annot-list-highlight-type nil
+(defcustom pdf-annot-list-highlight-type t
"Whether to highlight \"Type\" column annotation list with annotation color."
:type 'boolean)