branch: elpa/raku-mode
commit 6a4269e30be0ff8a38385db8a16333cb384d2baa
Author: Hinrik Örn Sigurðsson <[email protected]>
Commit: Hinrik Örn Sigurðsson <[email protected]>

    Make sure the magic autoloads correctly
---
 perl6-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/perl6-mode.el b/perl6-mode.el
index 8385001aee..401236584f 100644
--- a/perl6-mode.el
+++ b/perl6-mode.el
@@ -58,6 +58,7 @@
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.p[lm]?6\\'" . perl6-mode))
 
+;;;###autoload
 (defvar perl6-magic-pattern
   (rx line-start
       (0+ space)
@@ -65,6 +66,7 @@
           (and (opt (and (or "my" "our") (0+ space)))
                (or "module" "class" "role" "grammar")))))
 
+;;;###autoload
 (defun perl6-magic-matcher ()
   "Return non-nil if the current buffer is probably a Perl 6 file."
   (and (and (stringp buffer-file-name)

Reply via email to