Last active
March 25, 2024 00:38
-
-
Save hidsh/7d7b4a2ace9605b79d1ca2df0935428d to your computer and use it in GitHub Desktop.
suppress evil-ex warnings at starupt emacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
patch evil-ex.el evil-ex.patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.emacs.d/elpa/evil-20240222.652/evil-ex.el: Warning: ‘count’ is an obsolete alias (as of 27.1); use ‘cl-count’ instead. | |
.emacs.d/elpa/evil-20240222.652/evil-ex.el: Warning: ‘search’ is an obsolete alias (as of 27.1); use ‘cl-search’ instead. [2 times] | |
.emacs.d/elpa/evil-20240222.652/evil-ex.el: Warning: ‘subst’ is an obsolete alias (as of 27.1); use ‘cl-subst’ instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# diff -U0 evil-ex.el.orig evil-ex.el > evil-ex.patch | |
--- evil-ex.el.orig 2024-03-25 09:20:31.583272294 +0900 | |
+++ evil-ex.el 2024-03-25 09:35:32.648138663 +0900 | |
@@ -53 +53 @@ | |
- (count command argument #'evil-ex-call-command) | |
+ (cl-count command argument #'evil-ex-call-command) | |
@@ -57 +57 @@ | |
- (count | |
+ (cl-count | |
@@ -78 +78 @@ | |
- ((\? base) (\? offset) search (\? offset) | |
+ ((\? base) (\? offset) cl-search (\? offset) | |
@@ -87 +87 @@ | |
- search | |
+ cl-search | |
@@ -94 +94 @@ | |
- (search | |
+ (cl-search | |
@@ -99 +99 @@ | |
- subst) | |
+ cl-subst) | |
@@ -110 +110 @@ | |
- (subst | |
+ (cl-subst | |
@@ -445 +445 @@ | |
- (count (when (integerp range) range))) | |
+ (cl-count (when (integerp range) range))) | |
@@ -766 +766 @@ | |
- (let* ((count (when (integerp range) range)) | |
+ (let* ((cl-count (when (integerp range) range)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment