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

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

[nongnu] elpa/nasm-mode 1ec7d0a 53/67: Add a LIMIT argument to looking-b


From: ELPA Syncer
Subject: [nongnu] elpa/nasm-mode 1ec7d0a 53/67: Add a LIMIT argument to looking-back call
Date: Sun, 29 Aug 2021 11:23:51 -0400 (EDT)

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

    Add a LIMIT argument to looking-back call
    
    This was changed from optional to required sometime in Emacs 25.
---
 nasm-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nasm-mode.el b/nasm-mode.el
index 3081081..6f8e68a 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -685,7 +685,7 @@ With a prefix arg, kill the comment on the current line with
   "Like `join-line', but use a tab when joining with a label."
   (interactive "*P")
   (join-line join-following-p)
-  (if (looking-back nasm-label-regexp)
+  (if (looking-back nasm-label-regexp (line-beginning-position))
       (let ((column (current-column)))
         (cond ((< column 8)
                (delete-char 1)



reply via email to

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