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

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

[elpa] externals/bnf-mode dd6fae4 23/36: Added mised define-abbrev-table


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode dd6fae4 23/36: Added mised define-abbrev-table call
Date: Wed, 17 Mar 2021 18:40:17 -0400 (EDT)

branch: externals/bnf-mode
commit dd6fae48696fe36505be6920164e8a7bfa736aa5
Author: Serghei Iakovlev <egrep@protonmail.ch>
Commit: Serghei Iakovlev <egrep@protonmail.ch>

    Added mised define-abbrev-table call
---
 bnf-mode.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/bnf-mode.el b/bnf-mode.el
index f19936f..4f1bbaf 100644
--- a/bnf-mode.el
+++ b/bnf-mode.el
@@ -34,13 +34,13 @@
 ;;; Code:
 
 
-;;; Requirements
+;;;; Requirements
 
 (eval-when-compile
   (require 'rx))    ; `rx'
 
 
-;;; Customization
+;;;; Customization
 
 ;;;###autoload
 (defgroup bnf nil
@@ -70,9 +70,10 @@ start with semicolons only (\";\")."
 
 (defvar bnf-mode-abbrev-table nil
   "Abbreviation table used in `bnf-mode' buffers.")
+(define-abbrev-table 'bnf-mode-abbrev-table ())
 
 
-;;; Specialized rx
+;;;; Specialized rx
 
 (eval-when-compile
   (defconst bnf-rx-constituents
@@ -103,7 +104,7 @@ See `rx' documentation for more information about REGEXPS 
param."
                      t))))
 
 
-;;; Font Locking
+;;;; Font Locking
 
 (defvar bnf-font-lock-keywords
   `(
@@ -139,7 +140,7 @@ See `rx' documentation for more information about REGEXPS 
param."
   "Font lock BNF keywords for BNF Mode.")
 
 
-;;; Syntax
+;;;; Syntax
 
 (defvar bnf-mode-syntax-table
   (let ((table (make-syntax-table)))
@@ -196,7 +197,7 @@ 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
+;;;; Initialization
 
 ;;;###autoload
 (define-derived-mode bnf-mode prog-mode "BNF"



reply via email to

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