diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-12-20 22:15:41 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-12-20 22:15:41 +0100 |
commit | 7875c3c49864f3af7ddb9e7bc1d67cfb95bbd70d (patch) | |
tree | 05a019826844896b98f92f599b93594336df4498 | |
parent | e82f48a8ebebb6c29f1b2ad2d5f588aa591470bd (diff) | |
download | org-mode-7875c3c49864f3af7ddb9e7bc1d67cfb95bbd70d.tar.gz |
org-docview: Use lexical binding
* lisp/org-docview.el (org-docview-store-link): Silence byte-compiler.
-rw-r--r-- | lisp/org-docview.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org-docview.el b/lisp/org-docview.el index e3bf5fd..bc82b47 100644 --- a/lisp/org-docview.el +++ b/lisp/org-docview.el @@ -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 |