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

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

[nongnu] elpa/lua-mode 4dc4cba 421/468: Remove stray tabs


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode 4dc4cba 421/468: Remove stray tabs
Date: Thu, 5 Aug 2021 04:59:21 -0400 (EDT)

branch: elpa/lua-mode
commit 4dc4cba13af66055572fe79e2238bf9ce9520ff2
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    Remove stray tabs
---
 lua-mode.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lua-mode.el b/lua-mode.el
index 4b682d6..32f9750 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -1836,11 +1836,11 @@ This function just searches for a `end' at the 
beginning of a line."
       (goto-char (point-min))
       (while (re-search-forward "[\"'\\\t\\\n]" nil t)
         (cond
-        ((string= (match-string 0) "\n")
-         (replace-match "\\\\n"))
-        ((string= (match-string 0) "\t")
-         (replace-match "\\\\t"))
-        (t
+         ((string= (match-string 0) "\n")
+          (replace-match "\\\\n"))
+         ((string= (match-string 0) "\t")
+          (replace-match "\\\\t"))
+         (t
           (replace-match "\\\\\\&" t))))
       (concat "'" (buffer-string) "'"))))
 



reply via email to

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