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

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

[nongnu] elpa/nasm-mode 8ce1831 55/67: Use nasm-basic-offset instead of


From: ELPA Syncer
Subject: [nongnu] elpa/nasm-mode 8ce1831 55/67: Use nasm-basic-offset instead of a literal 8
Date: Sun, 29 Aug 2021 11:23:52 -0400 (EDT)

branch: elpa/nasm-mode
commit 8ce1831316cad68b617c087d3792407d2742c4c9
Author: Charlie Green <geek0795@gmail.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Use nasm-basic-offset instead of a literal 8
---
 nasm-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nasm-mode.el b/nasm-mode.el
index 9753218..9191e89 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -699,10 +699,10 @@ With a prefix arg, kill the comment on the current line 
with
   (join-line join-following-p)
   (if (looking-back nasm-label-regexp (line-beginning-position))
       (let ((column (current-column)))
-        (cond ((< column 8)
+        (cond ((< column nasm-basic-offset)
                (delete-char 1)
                (insert-char ?\t))
-              ((and (= column 8) (eql ?: (char-before)))
+              ((and (= column nasm-basic-offset) (eql ?: (char-before)))
                (delete-char 1))))
     (nasm-indent-line)))
 



reply via email to

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