Skip to content

Commit

Permalink
Fix autoload cookies for reformatter commands
Browse files Browse the repository at this point in the history
The 'current-file' was apparently copied intact from the reformatter examples, but it means the corresponding autoloads generated at package installation time don't really work.
  • Loading branch information
purcell authored and joachimschmidt557 committed Mar 1, 2024
1 parent 9ce2009 commit 5ca49c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zig-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ If given a SOURCE, execute the CMD on it."
:group 'zig-mode
:lighter " ZigFmt")

;;;###autoload (autoload 'zig-format-buffer "current-file" nil t)
;;;###autoload (autoload 'zig-format-region "current-file" nil t)
;;;###autoload (autoload 'zig-format-on-save-mode "current-file" nil t)
;;;###autoload (autoload 'zig-format-buffer "zig-mode" nil t)
;;;###autoload (autoload 'zig-format-region "zig-mode" nil t)
;;;###autoload (autoload 'zig-format-on-save-mode "zig-mode" nil t)

(defun zig-re-word (inner)
"Construct a regular expression for the word INNER."
Expand Down

0 comments on commit 5ca49c9

Please sign in to comment.