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

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

[elpa] externals/bnf-mode e0a3763 03/22: Update documentation


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode e0a3763 03/22: Update documentation
Date: Tue, 3 Mar 2020 10:56:52 -0500 (EST)

branch: externals/bnf-mode
commit e0a3763af78c5da53bde8ce26c7219adb9bc111d
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>

    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]