mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/{ruby,python}: Fix advice arguments errors
This commit is contained in:
@ -49,7 +49,7 @@ started it."
|
|||||||
(+python-version))))
|
(+python-version))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###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'."
|
"Update `+python-version' in all buffers in `python-mode'."
|
||||||
(dolist (buffer (doom-buffers-in-mode 'python-mode))
|
(dolist (buffer (doom-buffers-in-mode 'python-mode))
|
||||||
(setq +python-version-cache (clrhash +python-version-cache))
|
(setq +python-version-cache (clrhash +python-version-cache))
|
||||||
|
@ -44,7 +44,7 @@ started it."
|
|||||||
(+ruby-version))))
|
(+ruby-version))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###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."
|
"Update `+ruby--version' in all `enh-ruby-mode' buffers."
|
||||||
(dolist (buffer (doom-buffers-in-mode 'enh-ruby-mode))
|
(dolist (buffer (doom-buffers-in-mode 'enh-ruby-mode))
|
||||||
(setq +ruby-version-cache (clrhash +ruby-version-cache))
|
(setq +ruby-version-cache (clrhash +ruby-version-cache))
|
||||||
|
Reference in New Issue
Block a user