From 4e0a4e1b51a936e5972769ced61e014380b32109 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 26 Sep 2018 09:41:43 -0400 Subject: [PATCH] lang/{ruby,python}: Fix advice arguments errors --- modules/lang/python/autoload/python.el | 2 +- modules/lang/ruby/autoload.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/python/autoload/python.el b/modules/lang/python/autoload/python.el index 827bc9cbc..088342178 100644 --- a/modules/lang/python/autoload/python.el +++ b/modules/lang/python/autoload/python.el @@ -49,7 +49,7 @@ started it." (+python-version)))) ;;;###autoload -(defun +python|update-version-in-all-buffers () +(defun +python|update-version-in-all-buffers (&rest _) "Update `+python-version' in all buffers in `python-mode'." (dolist (buffer (doom-buffers-in-mode 'python-mode)) (setq +python-version-cache (clrhash +python-version-cache)) diff --git a/modules/lang/ruby/autoload.el b/modules/lang/ruby/autoload.el index 77bc34756..321d35d66 100644 --- a/modules/lang/ruby/autoload.el +++ b/modules/lang/ruby/autoload.el @@ -44,7 +44,7 @@ started it." (+ruby-version)))) ;;;###autoload -(defun +ruby|update-version-in-all-buffers () +(defun +ruby|update-version-in-all-buffers (&rest ) "Update `+ruby--version' in all `enh-ruby-mode' buffers." (dolist (buffer (doom-buffers-in-mode 'enh-ruby-mode)) (setq +ruby-version-cache (clrhash +ruby-version-cache))