branch: elpa/org-contrib
commit f88294f0183b3e7d41c8df884dc9f11b277740f1
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
lisp/org-screenshot.el: Switch to lexical binding
* lisp/org-screenshot.el (org-screenshot-show-unused): Remove unused
let-bindings.
---
lisp/org-screenshot.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org-screenshot.el b/lisp/org-screenshot.el
index 8560704bef..6721667a8d 100644
--- a/lisp/org-screenshot.el
+++ b/lisp/org-screenshot.el
@@ -1,4 +1,4 @@
-;;; org-screenshot.el --- Take and manage screenshots in Org-mode files
+;;; org-screenshot.el --- Take and manage screenshots in Org-mode files -*-
lexical-binding: t; -*-
;;
;; Copyright (C) 2009-2021 Free Software Foundation, Inc.
;;
@@ -507,7 +507,7 @@ entered, at which point event will be unread"
(substring (image-file-name-regexp) 0 -2)
"\\)\\]"))
(case-fold-search t)
- old file ov img type attrwidth width)
+ file)
(while (re-search-forward re end t)
(setq file (concat (or (match-string 3) "") (match-string 4)))
(when (and (file-exists-p file)