From 7875c3c49864f3af7ddb9e7bc1d67cfb95bbd70d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 20 Dec 2015 22:15:41 +0100 Subject: [PATCH] org-docview: Use lexical binding * lisp/org-docview.el (org-docview-store-link): Silence byte-compiler. --- lisp/org-docview.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/org-docview.el b/lisp/org-docview.el index e3bf5fdb1..bc82b47c5 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