[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/sml-mode 43cf0b2 28/45: * sml-mode/sml-mode.el (sml-smi
From: |
Stefan Monnier |
Subject: |
[elpa] externals/sml-mode 43cf0b2 28/45: * sml-mode/sml-mode.el (sml-smie-rules): Work around Emacs-24.3 bug. |
Date: |
Tue, 1 Dec 2020 10:01:41 -0500 (EST) |
branch: externals/sml-mode
commit 43cf0b2c84d575ea72bd44050e3827ab8a9f90ad
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* sml-mode/sml-mode.el (sml-smie-rules): Work around Emacs-24.3 bug.
---
sml-mode.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sml-mode.el b/sml-mode.el
index 4cca127..c353420 100644
--- a/sml-mode.el
+++ b/sml-mode.el
@@ -532,8 +532,9 @@ Regexp match data 0 points to the chars."
(if (and (smie-rule-parent-p "val") (smie-rule-next-p "fn")) -3))
(`(:before . "=>") (if (smie-rule-parent-p "fn") 3))
(`(:before . "of") 1)
- ;; In case the language is extended to allow a | directly after of.
- (`(:before . ,(and `"|" (guard (smie-rule-prev-p "of")))) 1)
+ ;; FIXME: pcase in Emacs<24.4 bumps into a bug if we do this:
+ ;;(`(:before . ,(and `"|" (guard (smie-rule-prev-p "of")))) 1)
+ (`(:before . "|") (if (smie-rule-prev-p "of") 1 (smie-rule-separator
kind)))
(`(:before . ,(or `"|" `"d|" `";" `",")) (smie-rule-separator kind))
;; Treat purely syntactic block-constructs as being part of their parent,
;; when the opening statement is hanging.
- [elpa] externals/sml-mode 4ba89ca 08/45: * sml-mode.el (inferior-sml-mode): Fix comint-completion-addsuffix., (continued)
- [elpa] externals/sml-mode 4ba89ca 08/45: * sml-mode.el (inferior-sml-mode): Fix comint-completion-addsuffix., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 6f9f11e 09/45: * sml-mode.el (sml-mode-variables): Set sml-prog-proc-descriptor here..., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 29c8a36 11/45: * sml-mode: Release 6.3, bugfixes, Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 04e69e0 13/45: * packages/sml-mode/sml-mode.el (sml-imenu-regexp): Make it a const., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 8dbbf1b 12/45: * sml-mode: Release 6.3, bugfixes, Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode d7e20dc 14/45: * packages/sml-mode/sml-mode.el (sml-imenu-regexp): Make it a const., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 0c8e382 20/45: * sml-mode.el (sml--rightalign-and-p): New function., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode e027ddf 25/45: * sml-mode.el: Add prettify-symbols-mode and Poly/ML support, Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 870c8fc 29/45: * sml-mode/sml-mode.el: Bump version to make a new release, Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 9b98622 16/45: * sml-mode.el (sml-smie-rules): Adjust for new :close-all rule., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 43cf0b2 28/45: * sml-mode/sml-mode.el (sml-smie-rules): Work around Emacs-24.3 bug.,
Stefan Monnier <=
- [elpa] externals/sml-mode a13e847 24/45: * packages/sml-mode/sml-mode.el (sml-smie-grammar): Add "withtype"., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode c161959 38/45: * packages/sml-mode/sml-mode.el (sml-smie-rules): Remove incoherent rule., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 20d8e4a 44/45: * packages/sml-mode/sml-mode.el: Parse "local" correctly, Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 9f8cf83 18/45: * sml-mode/sml-mode.el (sml-smie-grammar): Add include&sharing., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 13c27de 22/45: * sml-mode/sml-mode.el: Release new version., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode cdc5caf 35/45: * packages/sml-mode/sml-mode.el (sml-tyvarseq-re): Backtrack less (bug#24205), Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode b2c4602 31/45: Fix some quoting problems in doc strings, Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode 929f0e3 34/45: * sml-mode/sml-mode.el: Use cl-lib., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode f74803e 33/45: * sml-mode/sml-mode.el: Use cl-lib., Stefan Monnier, 2020/12/01
- [elpa] externals/sml-mode d142867 36/45: * packages/sml-mode/sml-mode.el (sml-tyvarseq-re): Backtrack less (bug#24205), Stefan Monnier, 2020/12/01