Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 5ca49c9

Browse files
purcelljoachimschmidt557
authored andcommitted
Fix autoload cookies for reformatter commands
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.
1 parent 9ce2009 commit 5ca49c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

zig-mode.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ If given a SOURCE, execute the CMD on it."
127127
:group 'zig-mode
128128
:lighter " ZigFmt")
129129

130-
;;;###autoload (autoload 'zig-format-buffer "current-file" nil t)
131-
;;;###autoload (autoload 'zig-format-region "current-file" nil t)
132-
;;;###autoload (autoload 'zig-format-on-save-mode "current-file" nil t)
130+
;;;###autoload (autoload 'zig-format-buffer "zig-mode" nil t)
131+
;;;###autoload (autoload 'zig-format-region "zig-mode" nil t)
132+
;;;###autoload (autoload 'zig-format-on-save-mode "zig-mode" nil t)
133133

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

0 commit comments

Comments
 (0)