emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-anzu a964de49f7 1/2: Fix emacs native compilation war


From: ELPA Syncer
Subject: [nongnu] elpa/evil-anzu a964de49f7 1/2: Fix emacs native compilation warning
Date: Sun, 11 Sep 2022 15:58:34 -0400 (EDT)

branch: elpa/evil-anzu
commit a964de49f74b8f3977e03c345c459b023fe4614a
Author: Codruț Constantin Gușoi <mail+git@codrut.pro>
Commit: Codruț Constantin Gușoi <mail+git@codrut.pro>

    Fix emacs native compilation warning
    
    To reproduce, have emacs built with native compilation and notice the
    compilation logs. You can then open the offending file and run `M-x
    emacs-lisp-native-compile-and-load` before and after the changes to see
    the warning is removed.
    
    ```
     ■  Warning (comp): evil-anzu.el:39:2: Warning: docstring wider than 80
    characters
     ■  Warning (comp): evil-anzu.el:39:2: Warning: docstring has wrong
    usage of unescaped single quotes (use \= or different quoting)
    ```
---
 evil-anzu.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/evil-anzu.el b/evil-anzu.el
index c81d2c3765..69e2ae6d95 100644
--- a/evil-anzu.el
+++ b/evil-anzu.el
@@ -35,8 +35,9 @@
       (anzu--update string))))
 
 (defun evil-anzu-search-next (&optional pattern direction nowrap)
-  "Make anzu work with the 'evil-search search module.
-If PATTERN is not specified the current global pattern 
`evil-ex-search-pattern' is used."
+  "Make anzu work with the \\='evil-search search module.
+If PATTERN is not specified the current global pattern
+`evil-ex-search-pattern' is used."
   (when anzu-mode
     (anzu--cons-mode-line-search)
     (let* ((isearch-regexp t) ; all evil-ex searches are regexp searches



reply via email to

[Prev in Thread] Current Thread [Next in Thread]