org-docview: Use lexical binding

* lisp/org-docview.el (org-docview-store-link): Silence byte-compiler.
This commit is contained in:
Nicolas Goaziou 2015-12-20 22:15:41 +01:00
parent e82f48a8eb
commit 7875c3c498
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
;;; org-docview.el --- support for links to doc-view-mode buffers
;;; org-docview.el --- Support for links to doc-view-mode buffers -*- lexical-binding: t; -*-
;; Copyright (C) 2009-2015 Free Software Foundation, Inc.
@ -81,8 +81,7 @@
;; This buffer is in doc-view-mode
(let* ((path buffer-file-name)
(page (image-mode-window-get 'page))
(link (concat "docview:" path "::" (number-to-string page)))
(description ""))
(link (concat "docview:" path "::" (number-to-string page))))
(org-store-link-props
:type "docview"
:link link