branch: externals/bnf-mode
commit dd6fae48696fe36505be6920164e8a7bfa736aa5
Author: Serghei Iakovlev <[email protected]>
Commit: Serghei Iakovlev <[email protected]>

    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