branch: master
commit 41188347c7feec0a5d5cc9fce229d27841114f18
Author: Clément Pit--Claudel <clement.pitclau...@live.com>
Commit: Clément Pit--Claudel <clement.pitclau...@live.com>

    Suppress irrelevant compilation warnings
    
    `directory-files-recursively' is only present in recent Emacsen, but since
    it should only be run on maintainers' machines that's not an issue.
---
 realgud.el |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/realgud.el b/realgud.el
index 96289a0..5e4c019 100644
--- a/realgud.el
+++ b/realgud.el
@@ -195,8 +195,9 @@ autoloaded functions, and commit the resulting changes."
                            realgud--recursive-autoloads-base-directory)))
     (when (file-exists-p generated-autoload-file)
       (delete-file generated-autoload-file))
-    (dolist (name (directory-files-recursively
-                   realgud--recursive-autoloads-base-directory "" t))
+    (dolist (name (with-no-warnings
+                    (directory-files-recursively
+                     realgud--recursive-autoloads-base-directory "" t)))
       (when (file-directory-p name)
         (update-directory-autoloads name)))))
 

Reply via email to