branch: elpa/nasm-mode commit 1ec7d0a224a744411f183ff7393b3636925df73e Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@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)