[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/raku-mode 73c35c089b 241/253: Remove an unnecessary (progn
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/raku-mode 73c35c089b 241/253: Remove an unnecessary (progn) that I missed. |
Date: |
Sat, 29 Jan 2022 08:29:02 -0500 (EST) |
branch: elpa/raku-mode
commit 73c35c089b8da4d6bdeaa337264310d96f93c387
Author: Roman Hargrave <roman@hargrave.info>
Commit: Roman Hargrave <roman@hargrave.info>
Remove an unnecessary (progn) that I missed.
---
raku-indent.el | 35 +++++++++++++++++------------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/raku-indent.el b/raku-indent.el
index 9b78aff889..6c1aa7372a 100644
--- a/raku-indent.el
+++ b/raku-indent.el
@@ -82,29 +82,28 @@
(t (smie-default-backward-token))))) ;; If none of the above
matched, defer to SMIE default search
(defun raku-smie-rules (kind token)
- (progn
- (pcase (cons kind token)
- ;; Basic indent offset
- (`(:elem . basic) raku-indent-offset)
+ (pcase (cons kind token)
+ ;; Basic indent offset
+ (`(:elem . basic) raku-indent-offset)
- ;; Indent offset for function args
- (`(:elem . arg) 0)
+ ;; Indent offset for function args
+ (`(:elem . arg) 0)
- (`(:list-intro . ,(or `";" `"")) t) ;"" stands for BOB (bug#15467).
+ (`(:list-intro . ,(or `";" `"")) t) ;"" stands for BOB (bug#15467).
- ;; Make sure that hanging assignment gets indented
- (`(:before . "=")
- (if (smie-rule-hanging-p)
- (smie-rule-parent raku-indent-offset)))
+ ;; Make sure that hanging assignment gets indented
+ (`(:before . "=")
+ (if (smie-rule-hanging-p)
+ (smie-rule-parent raku-indent-offset)))
- (`(:before . "{")
- (when (smie-rule-hanging-p) ; is `{` the last thing on this line?
- (smie-backward-sexp ";") ; y tho
- (smie-indent-virtual)))
+ (`(:before . "{")
+ (when (smie-rule-hanging-p) ; is `{` the last thing on this line?
+ (smie-backward-sexp ";") ; y tho
+ (smie-indent-virtual)))
- (`(:before . ,(or "{" "("))
- (if (smie-rule-hanging-p)
- (smie-rule-parent 0))))))
+ (`(:before . ,(or "{" "("))
+ (if (smie-rule-hanging-p)
+ (smie-rule-parent 0)))))
(provide 'raku-indent)
- [nongnu] elpa/raku-mode 07b596cab6 151/253: one more tweak to catch all forms of subs, (continued)
- [nongnu] elpa/raku-mode 07b596cab6 151/253: one more tweak to catch all forms of subs, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode fe2d579dfb 132/253: Indentation fix, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode c353cb2b74 208/253: Add perl6 defalias, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0aae9be202 213/253: Update the default path for the shebang line per @Altai-man's suggestion., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 460b477ba2 237/253: format README for keybindings, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode fff97f7fb0 226/253: Raku variable names have precedence over operators, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0cf896d274 228/253: Uncomment pod lines starting with whitespace., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode f9016c1d99 233/253: Fix qe comparator highlighting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 095b8666e3 248/253: Bump version for PR #59, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 7496ad3a03 245/253: Merge pull request #49 from matiaslina/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 73c35c089b 241/253: Remove an unnecessary (progn) that I missed.,
ELPA Syncer <=
- [nongnu] elpa/raku-mode eaac071f17 251/253: Correct PR merge date, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 03ade8f04d 071/253: Highlight all other kinds of numbers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 9963ed20da 051/253: Use consistent Markdown headings, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode e22ed63495 072/253: Indentation change, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 95382a81fb 057/253: Merge pull request #1 from andreoss/indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode cdc3a0de70 086/253: Highlight contexualizers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode b1b5cfde21 105/253: Add some comments to perl6-syntax-propertize, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 69666bfb10 084/253: Don't highlight digits in identifiers as numbers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8f230b887f 152/253: remove user option per syohex's comment, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode e7370bed3a 144/253: Fix bug overly eager highlighting of sub/macro/etc, ELPA Syncer, 2022/01/29