Skip to content

Commit

Permalink
Fix Emacs warnings
Browse files Browse the repository at this point in the history
```
 »  Warning (comp): evil-vars.el:561:25: Warning: the function `evil-delete-backward-word' is not known to be defined.
 »  Warning (comp): evil-vars.el:565:25: Warning: the function `evil-delete-backward-word' is not known to be defined.
```
  • Loading branch information
CrafterKolyan authored and axelf4 committed Jan 21, 2025
1 parent c07438d commit 423c4b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evil-vars.el
Original file line number Diff line number Diff line change
Expand Up @@ -559,11 +559,11 @@ ubiquity of prefix arguments."
(cond
((and (not value)
(eq (lookup-key evil-command-line-map (kbd "C-w"))
#'evil-delete-backward-word))
'evil-delete-backward-word))
(define-key evil-command-line-map (kbd "C-w") nil))
((and value
(null (lookup-key evil-command-line-map (kbd "C-w"))))
(define-key evil-command-line-map (kbd "C-w") #'evil-delete-backward-word))))
(define-key evil-command-line-map (kbd "C-w") 'evil-delete-backward-word))))
(when (boundp 'evil-ex-search-keymap)
(cond
((and (not value)
Expand Down

0 comments on commit 423c4b9

Please sign in to comment.