emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-contrib f88294f018: lisp/org-screenshot.el: Switch to


From: ELPA Syncer
Subject: [nongnu] elpa/org-contrib f88294f018: lisp/org-screenshot.el: Switch to lexical binding
Date: Sun, 31 Dec 2023 07:00:02 -0500 (EST)

branch: elpa/org-contrib
commit f88294f0183b3e7d41c8df884dc9f11b277740f1
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]