Skip to content

Commit

Permalink
Merge pull request #29 from Hi-Angel/fix-warnings
Browse files Browse the repository at this point in the history
meson-mode.el: fix "undeclared function evil-local-set-key" warning
  • Loading branch information
wentasah authored Feb 11, 2024
2 parents f9db5c6 + 489aa05 commit ed7d307
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meson-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,7 @@ or does not contain IDENTIFIER."
(markdown-view-mode))
(local-set-key (kbd "q") 'bury-buffer)
(when (bound-and-true-p evil-mode)
(declare-function evil-local-set-key nil) ;; suppress "undeclared" warning
(evil-local-set-key 'normal (kbd "q") 'bury-buffer)))
(let* ((position
(or (meson--search-in-reference-manual identifier)
Expand Down

0 comments on commit ed7d307

Please sign in to comment.