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

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

[nongnu] elpa/nasm-mode e978f6e 35/67: Don't use 3-argument <= (requires


From: ELPA Syncer
Subject: [nongnu] elpa/nasm-mode e978f6e 35/67: Don't use 3-argument <= (requires 24.4).
Date: Sun, 29 Aug 2021 11:23:48 -0400 (EDT)

branch: elpa/nasm-mode
commit e978f6ea8a9debe7f18436daa355b84bb185c8ec
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Don't use 3-argument <= (requires 24.4).
    
    Thanks, pirut!
---
 nasm-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nasm-mode.el b/nasm-mode.el
index 43fece5..b84f192 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -641,7 +641,7 @@
     (let ((point (point))
           (start (progn (beginning-of-line) (point)))
           (end (progn (back-to-indentation) (point))))
-      (<= start point end))))
+      (and (<= start point) (<= point end)))))
 
 (defun nasm-comment (&optional arg)
   "Begin or edit a comment with context-sensitive placement.



reply via email to

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