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

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

[nongnu] elpa/rubocop 1ffa08b 05/64: Add a few autoloads


From: ELPA Syncer
Subject: [nongnu] elpa/rubocop 1ffa08b 05/64: Add a few autoloads
Date: Wed, 11 Aug 2021 10:07:54 -0400 (EDT)

branch: elpa/rubocop
commit 1ffa08b7054346f62cb06c434bd1d02c5ea26f05
Author: Bozhidar Batsov <bozhidar@tradeo.com>
Commit: Bozhidar Batsov <bozhidar@tradeo.com>

    Add a few autoloads
---
 rubocop.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rubocop.el b/rubocop.el
index fca4ffb..7a23cc4 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -62,11 +62,13 @@ The current directory is assumed to be the project's root 
otherwise."
   "Generate a name for the RuboCop buffer from FILE-OR-DIR."
   (concat "*RuboCop " file-or-dir "*"))
 
+;;;###autoload
 (defun rubocop-run-on-project ()
   "Run on current project."
   (interactive)
   (rubocop-run-on-directory (rubocop-project-root)))
 
+;;;###autoload
 (defun rubocop-run-on-directory (&optional directory)
   "Run on DIRECTORY if present.
 Alternatively prompt user for directory."
@@ -80,6 +82,7 @@ Alternatively prompt user for directory."
      'compilation-mode
      (lambda (arg) (message arg) (rubocop-buffer-name directory)))))
 
+;;;###autoload
 (defun rubocop-run-on-current-file ()
   "Run on current file."
   (interactive)



reply via email to

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