Skip to content

Commit 497bb8b

Browse files
committed
Try to calm down byte-compiler in Emacs 28.1 AND Emacs 29.1
1 parent 00fd941 commit 497bb8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adoc-mode.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,7 @@ START-SRC and END-SRC delimit the actual source code."
20052005
(when (fboundp lang-mode)
20062006
(let ((string (buffer-substring-no-properties start-src end-src))
20072007
(modified (buffer-modified-p))
2008-
(adoc-buffer (current-buffer)) int)
2008+
(adoc-buffer (current-buffer)))
20092009
(remove-text-properties start-block end-block '(face nil adoc-code-block nil font-lock-fontified nil font-lock-multiline nil))
20102010
(with-current-buffer
20112011
(get-buffer-create
@@ -2018,7 +2018,8 @@ START-SRC and END-SRC delimit the actual source code."
20182018
(insert string))
20192019
(unless (eq major-mode lang-mode) (funcall lang-mode))
20202020
(font-lock-ensure)
2021-
(cl-loop for int being the intervals property 'face
2021+
(cl-loop for int = nil
2022+
for int being the intervals property 'face
20222023
for pos = (car int)
20232024
for next = (cdr int)
20242025
for val = (get-text-property pos 'face)

0 commit comments

Comments
 (0)