branch: elpa/markdown-mode
commit 156b0eba9f98149c659cc8dfb2a1e572e6e87372
Author: Shohei YOSHIDA <[email protected]>
Commit: Shohei YOSHIDA <[email protected]>
Fix byte-compile warnings on development Emacs
---
markdown-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/markdown-mode.el b/markdown-mode.el
index 9ad211a017..0133e07d3c 100644
--- a/markdown-mode.el
+++ b/markdown-mode.el
@@ -6408,7 +6408,7 @@ following section."
(while (and (not found)
(not (bobp))
(re-search-backward markdown-regex-header nil 'move))
- (when (not (markdown-code-block-at-pos (match-beginning 0))))
+ (markdown-code-block-at-pos (match-beginning 0))
(setq found (match-beginning 0)))
(setq arg (1- arg)))
;; Move forward with negative argument.
@@ -6417,7 +6417,7 @@ following section."
(while (and (not found)
(not (eobp))
(re-search-forward markdown-regex-header nil 'move))
- (when (not (markdown-code-block-at-pos (match-beginning 0))))
+ (markdown-code-block-at-pos (match-beginning 0))
(setq found (match-beginning 0)))
(setq arg (1+ arg)))
(when found