summaryrefslogtreecommitdiff
path: root/lisp/pdf-virtual.el
diff options
context:
space:
mode:
authorThomas Hisch <thomas.hisch@ims.co.at>2021-05-31 16:02:22 +0200
committerVedang Manerikar <ved.manerikar@gmail.com>2021-05-31 21:43:58 +0530
commit5f77dae43eb8f71e52e10ba8cf994883f74c3fb7 (patch)
treee9789ebb99789aff08dee9fd0295ff6dd7c2a555 /lisp/pdf-virtual.el
parent3e1d740dee85c42cc55b1bff552c4e098e2638d3 (diff)
define-minor-mode: Remove support for obsolete pos arguments
This removes the positial arguemnt triplet from the define-minor-mode calls, because they are obsolete since Emacs<21. See the following paragraph in the help section of define-minor-mode. For backward compatibility with the Emacs<21 calling convention, the keywords of define-minor-mode can also be preceded by the obsolete triplet INIT-VALUE LIGHTER KEYMAP.
Diffstat (limited to 'lisp/pdf-virtual.el')
-rw-r--r--lisp/pdf-virtual.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/pdf-virtual.el b/lisp/pdf-virtual.el
index 6694218..e2e4543 100644
--- a/lisp/pdf-virtual.el
+++ b/lisp/pdf-virtual.el
@@ -477,7 +477,6 @@ PAGE should be a page-number."
;;;###autoload
(define-minor-mode pdf-virtual-global-minor-mode
"Enable recognition and handling of VPDF files."
- nil nil nil
:global t
:group 'pdf-tools
(let ((elt `(,pdf-virtual-magic-mode-regexp . pdf-virtual-view-mode)))