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

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

[nongnu] elpa/swift-mode 3ce22b1 275/496: Remove needless code


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 3ce22b1 275/496: Remove needless code
Date: Sun, 29 Aug 2021 11:33:50 -0400 (EDT)

branch: elpa/swift-mode
commit 3ce22b189bd856b24d8900cf644886c7d5a1f373
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    Remove needless code
    
    Because swift-mode requires Emacs 24.4 or higher.
---
 swift-mode.el | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/swift-mode.el b/swift-mode.el
index d14cd9f..18cbcc6 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -34,13 +34,6 @@
 (require 'comint)
 (require 'cl-lib)
 
-(eval-and-compile
-  ;; Added in Emacs 24.3
-  (unless (fboundp 'setq-local)
-    (defmacro setq-local (var val)
-      "Set variable VAR to value VAL in current buffer."
-      (list 'set (list 'make-local-variable (list 'quote var)) val))))
-
 (defgroup swift nil
   "Configuration for swift-mode."
   :group 'languages



reply via email to

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