summaryrefslogtreecommitdiff
path: root/evil-pdf.el
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2017-11-07 11:04:12 +0100
committerPierre Neidhardt <ambrevar@gmail.com>2017-11-07 11:04:12 +0100
commit4733d536463247cad4d9e4cbace0b373c7378c05 (patch)
tree0a2cac07b5f10c329798d650064a4fda1c979a81 /evil-pdf.el
parent5de94af734769bc83279eee7b3f564d0c38618e9 (diff)
Normalize the documentation headers (#12)
Diffstat (limited to 'evil-pdf.el')
-rw-r--r--evil-pdf.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/evil-pdf.el b/evil-pdf.el
index ee3c0e6..5c0e764 100644
--- a/evil-pdf.el
+++ b/evil-pdf.el
@@ -3,12 +3,12 @@
;; Copyright (C) 2017 Pierre Neidhardt
;; Author: Pierre Neidhardt <ambrevar@gmail.com>
-;; Maintainer: James Nguyen <james@jojojames.com>, Pierre Neidhardt <ambrevar@gmail.com>
+;; Maintainer: James Nguyen <james@jojojames.com>
+;; Pierre Neidhardt <ambrevar@gmail.com>
;; URL: https://github.com/jojojames/evil-collection
;; Version: 0.0.1
;; Package-Requires: ((emacs "25.1"))
-;; Keywords: compile, evil
-;; HomePage: https://github.com/jojojames/evil-collection
+;; Keywords: evil, pdf, tools
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published
@@ -24,8 +24,11 @@
;; see <http://www.gnu.org/licenses/>.
;;; Commentary:
+;; Evil bindings for pdf-tools.
;;; Code:
+(require 'evil)
+(require 'pdf-view)
;; TODO: `image-mode-map' is the parent of `pdf-view-mode-map'. A bug(?) in
;; image-mode-map and pdf-mode-map seem to conflict with Evil.
@@ -33,9 +36,6 @@
;; and https://github.com/politza/pdf-tools/issues/324.
;; Changing load order only changes which mode overrides the other.
-(require 'evil)
-(require 'pdf-view)
-
(defun evil-pdf-view-goto-page (&optional page)
(interactive "P")
(if page