[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/raku-mode cf9d523c88 059/253: Use sharp quote (#') to quot
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/raku-mode cf9d523c88 059/253: Use sharp quote (#') to quote function names |
Date: |
Sat, 29 Jan 2022 08:28:42 -0500 (EST) |
branch: elpa/raku-mode
commit cf9d523c88897ca19f05de4aa3bc94721e428240
Author: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
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 "#")
- [nongnu] elpa/raku-mode 0d3485a324 027/253: Better highlighting angled quotes, and set operators, (continued)
- [nongnu] elpa/raku-mode 0d3485a324 027/253: Better highlighting angled quotes, and set operators, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 7078ed08b4 033/253: font-lock-exit-face is not standard, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode f9bf3f7689 037/253: Improve code layout a bit, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 6a4269e30b 005/253: Make sure the magic autoloads correctly, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0be377dba8 040/253: Place manual installation instructions last, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8f9d68dc38 047/253: Add note about find-file-at-point, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 6cb23a3a64 058/253: Move indentation support into perl6-indent.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 4917b2c270 055/253: Highlight #=() and #|() comments, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 284a341125 046/253: Set comment-start-skip, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode eaf48dd813 049/253: Add Travis integration, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode cf9d523c88 059/253: Use sharp quote (#') to quote function names,
ELPA Syncer <=
- [nongnu] elpa/raku-mode e3bcb55be3 077/253: Highlight adverbs (:foo), ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 95f6ca837c 078/253: Highlight sigil in match group ($<foo>), ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode c1b2f9e112 109/253: Less aggressive syntaxification of sigils/twigils, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 6553c30843 093/253: Highlight ::?CLASS and such correctly, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 861a7b469b 110/253: Highlight string delimiters like operators, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 5f66f10dbe 143/253: Correctly highlight $foo.?method, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 9f07c8b52a 139/253: Highlight 'unit' keyword, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 5456e2b044 145/253: Fix highlighting of <-a -b -c>, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 81805cfa8e 154/253: remove vars (to main file) per comments from syohex, clean up some, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 4b01244490 157/253: make this work for nqp also, ELPA Syncer, 2022/01/29