forked from mirrors/org-mode
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.
|
;; Copyright (C) 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
@ -81,8 +81,7 @@
|
||||||
;; This buffer is in doc-view-mode
|
;; This buffer is in doc-view-mode
|
||||||
(let* ((path buffer-file-name)
|
(let* ((path buffer-file-name)
|
||||||
(page (image-mode-window-get 'page))
|
(page (image-mode-window-get 'page))
|
||||||
(link (concat "docview:" path "::" (number-to-string page)))
|
(link (concat "docview:" path "::" (number-to-string page))))
|
||||||
(description ""))
|
|
||||||
(org-store-link-props
|
(org-store-link-props
|
||||||
:type "docview"
|
:type "docview"
|
||||||
:link link
|
:link link
|
||||||
|
|
Loading…
Reference in a new issue