summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ebnf-bnf.el
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2007-07-26 13:41:29 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2007-07-26 13:41:29 +0000
commit3ced5caae444261e6ce5cea0ff6c20eb4a366ecd (patch)
tree9f730ae9cf14674b21c6ae4efbfa29e566e87e49 /lisp/progmodes/ebnf-bnf.el
parentf4d70220bef14ffa14f42df7892bd8f15ab61f86 (diff)
downloademacs-3ced5caae444261e6ce5cea0ff6c20eb4a366ecd.tar.gz
New: Header/Footer comment & Log messages
Diffstat (limited to 'lisp/progmodes/ebnf-bnf.el')
-rw-r--r--lisp/progmodes/ebnf-bnf.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/progmodes/ebnf-bnf.el b/lisp/progmodes/ebnf-bnf.el
index 6ade2fdc900..8f6ecd99d24 100644
--- a/lisp/progmodes/ebnf-bnf.el
+++ b/lisp/progmodes/ebnf-bnf.el
@@ -6,7 +6,7 @@
;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Keywords: wp, ebnf, PostScript
-;; Version: 1.9
+;; Version: 1.10
;; This file is part of GNU Emacs.
@@ -537,6 +537,12 @@ See documentation for variable `ebnf-bnf-lex'."
;; close EPS file
((and ebnf-eps-executing (= (following-char) ?\]))
(ebnf-eps-remove-context (ebnf-bnf-eps-filename)))
+ ;; EPS header
+ ((and ebnf-eps-executing (= (following-char) ?H))
+ (ebnf-eps-header-comment (ebnf-bnf-eps-filename)))
+ ;; EPS footer
+ ((and ebnf-eps-executing (= (following-char) ?F))
+ (ebnf-eps-footer-comment (ebnf-bnf-eps-filename)))
;; any other action in comment
(t
(setq ebnf-action (aref ebnf-comment-table (following-char)))