branch: elpa/swift-mode
commit 3ce22b189bd856b24d8900cf644886c7d5a1f373
Author: Syohei YOSHIDA <syo...@gmail.com>
Commit: Syohei YOSHIDA <syo...@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