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

    Use sharp quote (#') to quote function names
    
    From The Emacs Lisp Style Guide:
    
        Use a sharp quote (#') when quoting function names. It's a good hint for
        the byte-compiler, which will warn you if the function is undefined.
        Some macros can also behave differently otherwise (like cl-labels)
    
    https://github.com/bbatsov/emacs-lisp-style-guide
---
 perl6-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/perl6-mode.el b/perl6-mode.el
index 43ba2f4266..67c5853a8d 100644
--- a/perl6-mode.el
+++ b/perl6-mode.el
@@ -46,9 +46,9 @@
 (define-derived-mode perl6-mode prog-mode "Perl6"
   "Major mode for editing Perl 6 code."
   ;; Syntaxification and font locking
-  (setq-local syntax-propertize-function 'perl6-syntax-propertize)
-  (add-hook 'syntax-propertize-extend-region-functions 
'syntax-propertize-multiline nil 'local)
-  (setq-local font-lock-syntactic-face-function 
'perl6-font-lock-syntactic-face)
+  (setq-local syntax-propertize-function #'perl6-syntax-propertize)
+  (add-hook 'syntax-propertize-extend-region-functions 
#'syntax-propertize-multiline nil 'local)
+  (setq-local font-lock-syntactic-face-function 
#'perl6-font-lock-syntactic-face)
   (setq-local font-lock-defaults '(perl6-font-lock-keywords nil nil))
   ;; Comments
   (setq-local comment-start "#")

Reply via email to