[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yaml-mode ba291754ff 1/2: Turn on lexical-binding
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yaml-mode ba291754ff 1/2: Turn on lexical-binding |
Date: |
Thu, 30 Dec 2021 05:58:47 -0500 (EST) |
branch: elpa/yaml-mode
commit ba291754fff85ce89e0b5b27f84928f5ff1337f1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Turn on lexical-binding
This helps the gccemacs native compiler and improves
compiler warnings (unused variables).
---
yaml-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/yaml-mode.el b/yaml-mode.el
index 9d619d5226..123ee579e3 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -1,4 +1,4 @@
-;;; yaml-mode.el --- Major mode for editing YAML files
+;;; yaml-mode.el --- Major mode for editing YAML files -*- lexical-binding: t
-*-
;; Copyright (C) 2010-2014 Yoshiki Kurihara
@@ -367,7 +367,6 @@ back-dent the line by `yaml-indent-offset' spaces. On
reaching column
0, it will cycle back to the maximum sensible indentation."
(interactive "*")
(let ((ci (current-indentation))
- (cc (current-column))
(need (yaml-compute-indentation)))
(save-excursion
(beginning-of-line)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/yaml-mode ba291754ff 1/2: Turn on lexical-binding,
ELPA Syncer <=