[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bnf-mode a4ca649 74/74: Remove wrongly used (and docume
From: |
Stefan Monnier |
Subject: |
[elpa] externals/bnf-mode a4ca649 74/74: Remove wrongly used (and documented) syntax-propertize-function call |
Date: |
Thu, 9 May 2019 08:27:56 -0400 (EDT) |
branch: externals/bnf-mode
commit a4ca649e79479e0ee312c45668b56ae33966cceb
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>
Remove wrongly used (and documented) syntax-propertize-function call
---
CHANGELOG.org | 3 +++
bnf-mode.el | 15 ---------------
2 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 2f32e6a..d886c8b 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -14,6 +14,9 @@ The format is based on [[http://keepachangelog.com][Keep a
Changelog]] and this
- Only setting =bnf-mode-algol-comments-style= to non-nil will allow use
semicolons as a regular terminal symbols. For more see:
[[https://github.com/sergeyklay/bnf-mode/pull/4][#4]] .
+** Removed
+- Removed wrongly used (and documented) =syntax-propertize-function= funcall
+
** [[https://github.com/sergeyklay/bnf-mode/compare/0.4.0...0.4.1][0.4.1]] -
2019-04-21
*** Fixes
- Minor fix related to build & deploy BNF Mode on Travis CI.
diff --git a/bnf-mode.el b/bnf-mode.el
index 9fb3247..35b0fa4 100644
--- a/bnf-mode.el
+++ b/bnf-mode.el
@@ -244,21 +244,6 @@ Will be used only if `bnf-mode-algol-comments-style' is
set to t")
(setq-local comment-end "")
(setq-local comment-start-skip "\\(?:\\(\\W\\|^\\);+\\)\\s-+")))
- ;; Basically `syntax-propertize-function' is a construct which belongs
- ;; to `font-lock'. But correct indentation depends on
- ;; syntax properties of the text, and that should ideally be
- ;; independent of font-lock being activated or not.
- ;;
- ;; For `bnf-mode', this means that with `font-lock' disabled, we wont
- ;; have our syntax properties set correctly, and indentation will
- ;; suffer.
- ;;
- ;; To patch our way around this, we issue a `syntax-propertize' call
- ;; manually, `font-lock' enabled or not.
- (with-silent-modifications
- (when bnf-mode-algol-comments-style
- (funcall syntax-propertize-function (point-min) (point-max))))
-
;; Font locking
(setq font-lock-defaults
'(
- [elpa] externals/bnf-mode 5b6ff92 41/74: Update copyright, (continued)
- [elpa] externals/bnf-mode 5b6ff92 41/74: Update copyright, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode e9a5e4a 45/74: Return back comment-start and comment-end, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 3eda5e7 48/74: This package is NOT part of GNU Emacs, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode ebd9b83 51/74: Added ability to generate info, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 7a4a1b0 55/74: Build package on Travis CI, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode f00edff 56/74: Prepare deploy on Travis CI, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 1105934 59/74: Cleaned up Travis CI config, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 548c33b 58/74: Bump version, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode aed186d 54/74: Provided ability to build installation package., Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 119d792 72/74: Added Emacs 26.2 to Travis CI build matrix, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode a4ca649 74/74: Remove wrongly used (and documented) syntax-propertize-function call,
Stefan Monnier <=
- [elpa] externals/bnf-mode a9d6cc3 60/74: Merge pull request #3 from sergeyklay/feature/build-pkg, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 13de9e1 06/74: Updated project description, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 387b4c3 46/74: Minor code cleanup, improved tests report, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode d5729af 71/74: Fixed dependencies in Cask file, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode b02bebd 70/74: The byte-compiler reports warnings with "error", Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 00aac58 62/74: Change CI deploy credits, bump version, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 5a483ed 64/74: Introduce ALGOL 60 comments style, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 592c7d4 68/74: Minor improvements in change log, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 460c298 02/74: Added README file and LICENSE, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 1dda3ef 40/74: Provide ability to make plain text README, Stefan Monnier, 2019/05/09