emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 47cecf3: Use lexical-binding in dired-aux.el


From: Mark Oteiza
Subject: [Emacs-diffs] master 47cecf3: Use lexical-binding in dired-aux.el
Date: Sat, 29 Jul 2017 11:00:56 -0400 (EDT)

branch: master
commit 47cecf350d6add5ab2a20a389b63a011c84cbc1b
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    Use lexical-binding in dired-aux.el
    
    * lisp/dired.el: Use lexical binding.
    (dired-do-shell-command): Remove unused bindings.
---
 lisp/dired-aux.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 17dae60..0a8ec26 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1,4 +1,4 @@
-;;; dired-aux.el --- less commonly used parts of dired
+;;; dired-aux.el --- less commonly used parts of dired -*- lexical-binding: t 
-*-
 
 ;; Copyright (C) 1985-1986, 1992, 1994, 1998, 2000-2017 Free Software
 ;; Foundation, Inc.
@@ -742,8 +742,6 @@ can be produced by `dired-get-marked-files', for example."
                (string-match regexp res))))
   (let* ((on-each (not (dired--star-or-qmark-p command "*" 'keep)))
         (no-subst (not (dired--star-or-qmark-p command "?" 'keep)))
-        (star (string-match "\\*" command))
-        (qmark (string-match "\\?" command))
          ;; Get confirmation for wildcards that may have been meant
          ;; to control substitution of a file name or the file name list.
          (ok (cond ((not (or on-each no-subst))



reply via email to

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