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

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

[elpa] externals/bnf-mode 4d9ca0a 22/36: Updated documentation


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode 4d9ca0a 22/36: Updated documentation
Date: Wed, 17 Mar 2021 18:40:17 -0400 (EDT)

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

    Updated documentation
---
 bnf-mode.info | 21 ++++++++-------------
 bnf-mode.texi | 11 ++---------
 2 files changed, 10 insertions(+), 22 deletions(-)

diff --git a/bnf-mode.info b/bnf-mode.info
index 29feea9..61b8740 100644
--- a/bnf-mode.info
+++ b/bnf-mode.info
@@ -230,13 +230,8 @@ The sequence of basic symbols                      Is 
equivalent to
    Note: enabling this feature will disable comments recognition, which
 start with semicolons only (‘;’).
 
-   To customize ‘abbrev-mode’ for ‘bnf-mode’, simple add a hook to
-‘bnf-mode-hook’.  The code may looks as follows:
-
-     (add-hook 'bnf-mode-hook
-         '(lambda () (define-abbrev
-                       bnf-mode-abbrev-table
-                       "lng" "language")))
+   To customize ‘abbrev-mode’ for ‘bnf-mode’, simple add preffered
+abbreviations to ‘bnf-mode-abbrev-table’.
 
    If you want, you can go without any customizations at all.  The above
 settings are the most bang for the buck in terms of customization.  So
@@ -359,12 +354,12 @@ Node: Installing using El-get4880
 Node: Installing from the Git Repository5559
 Node: Usage6460
 Node: Customizing6745
-Node: Project Links8221
-Node: Bugs Tracker8392
-Node: Change Log8625
-Node: Bibliography8874
-Node: Index10032
-Node: Variable Index10739
+Node: Project Links8090
+Node: Bugs Tracker8261
+Node: Change Log8494
+Node: Bibliography8743
+Node: Index9901
+Node: Variable Index10608
 
 End Tag Table
 
diff --git a/bnf-mode.texi b/bnf-mode.texi
index 164d8ab..f89005e 100644
--- a/bnf-mode.texi
+++ b/bnf-mode.texi
@@ -288,15 +288,8 @@ this case the following "comment" conventions will hold:
 Note: enabling this feature will disable comments recognition, which
 start with semicolons only (@code{;}).
 
-To customize @code{abbrev-mode} for @code{bnf-mode}, simple add a hook
-to @code{bnf-mode-hook}.  The code may looks as follows:
-
-@lisp
-(add-hook 'bnf-mode-hook
-         '(lambda () (define-abbrev
-                       bnf-mode-abbrev-table
-                       "lng" "language")))
-@end lisp
+To customize @code{abbrev-mode} for @code{bnf-mode}, simple add preffered
+abbreviations to @code{bnf-mode-abbrev-table}.
 
 If you want, you can go without any customizations at all. The above
 settings are the most bang for the buck in terms of customization.  So



reply via email to

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