summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorVedang Manerikar <ved.manerikar@gmail.com>2023-01-17 08:31:20 +0530
committerVedang Manerikar <ved.manerikar@gmail.com>2023-01-17 08:31:20 +0530
commite55e2ceca7a6091265eadec254c7fad98851a886 (patch)
treee7826c00c8d5fb684706f54ad7743404fe4f930c /lisp
parentf42795274c4a34f9e90acec5a9410cee283dc35d (diff)
Change the default selection-style to word
Thanks to the stellar work by @hrdl-github in #73, we can now change the default unit of selection from `glyph` to `word`. This speeds up selection significantly. Look at the documentation of `pdf-view-selection-style` for more information. Closes: #87
Diffstat (limited to 'lisp')
-rw-r--r--lisp/pdf-view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el
index 9532162..454effa 100644
--- a/lisp/pdf-view.el
+++ b/lisp/pdf-view.el
@@ -188,7 +188,7 @@ Issue a warning, if one of them is active in a PDF buffer."
:group 'pdf-view
:type '(repeat symbol))
-(defcustom pdf-view-selection-style 'glyph
+(defcustom pdf-view-selection-style 'word
"The current default selection style.
Must be one of `glyph', `word', or `line'."