org-docview: Use lexical binding
* lisp/org-docview.el (org-docview-store-link): Silence byte-compiler.
This commit is contained in:
parent
e82f48a8eb
commit
7875c3c498
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue