Skip to content

Commit

Permalink
Suppress irrelevant compilation warnings
Browse files Browse the repository at this point in the history
`directory-files-recursively' is only present in recent Emacsen, but since
it should only be run on maintainers' machines that's not an issue.
  • Loading branch information
cpitclaudel committed Jun 28, 2016
1 parent 2316417 commit 4118834
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions realgud.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

Expand Down

0 comments on commit 4118834

Please sign in to comment.