emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bnf-mode 11b19fa 04/22: Merge pull request #10 from ser


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode 11b19fa 04/22: Merge pull request #10 from sergeyklay/feature/update-docs
Date: Tue, 3 Mar 2020 10:56:52 -0500 (EST)

branch: externals/bnf-mode
commit 11b19fa77ab0a6bb2208c776ccd17887a0325b8c
Merge: 55fd2bb e0a3763
Author: Serghei Iakovlev <address@hidden>
Commit: GitHub <address@hidden>

    Merge pull request #10 from sergeyklay/feature/update-docs
    
    Update documentation
---
 bnf-mode.el | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/bnf-mode.el b/bnf-mode.el
index 4fafc88..b33bda1 100644
--- a/bnf-mode.el
+++ b/bnf-mode.el
@@ -236,15 +236,22 @@ See `rx' documentation for more information about REGEXPS 
param."
    ;; Fontify comments in ALGOL 60 style.
    ("\\(?:begin\\s-+\\|;\\s-*\\)\\(comment\\)\\(;\\|\\s-+[^;]*;\\)" (1 "<")))
   "Apply syntax table properties to special constructs.
-Provide a macro to apply syntax table properties to comments in ALGOL 60 style.
-Will be used only if `bnf-mode-algol-comments-style' is set to t")
+Provide a macro to apply syntax table properties to comments in ALGOL 60
+style.  Will be used only if `bnf-mode-algol-comments-style' is set to t")
 
 
 ;;; Initialization
 
 ;;;###autoload
 (define-derived-mode bnf-mode prog-mode "BNF"
-  "A major mode for editing BNF grammars."
+  "A major mode for editing BNF grammars.
+
+\\{bnf-mode-map}
+The variable `bnf-mode-algol-comments-style' can be changed to control
+comments style used in grammars.
+
+Turning on BNF mode calls the value of `prog-mode-hook' and then of
+`bnf-mode-hook', if they are non-nil."
   :syntax-table bnf-mode-syntax-table
 
   ;; Comments setup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]