[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bison-mode 0434673 04/29: Removing dependency on flex-mode
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bison-mode 0434673 04/29: Removing dependency on flex-mode. |
Date: |
Sun, 29 Aug 2021 10:58:40 -0400 (EDT) |
branch: elpa/bison-mode
commit 04346731f7eec57682f8180fd50bbd6aa815e54a
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Wilfred Hughes <me@wilfred.me.uk>
Removing dependency on flex-mode.
We don't need it anyway, and it doesn't have licensing information.
---
bison-mode.el | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/bison-mode.el b/bison-mode.el
index 85cf88b..8cafeba 100644
--- a/bison-mode.el
+++ b/bison-mode.el
@@ -73,15 +73,12 @@
;;;; these are the lines i use to set up correct auto-ing
;;(autoload 'bison-mode "bison-mode.el")
;;(add-to-set! auto-mode-alist '("\\.y$" . bison-mode))
-
-;;(autoload 'flex-mode "flex-mode")
-;;(add-to-set! auto-mode-alist '("\\.l$" . flex-mode))
+;;(add-to-set! auto-mode-alist '("\\.l$" . bison-mode))
;;; Code:
;; *************** dependencies ***************
(require 'derived) ;; define-derived-mode
-(require 'flex-mode) ;; for flex-mode derivation
(require 'make-regexp) ;; make-regexp
;; *************** internal vars ***************
@@ -231,10 +228,9 @@ and \(point\)"
;; *************** bison-mode ***************
-(define-derived-mode bison-mode flex-mode "Bison"
- "Major mode for editing bison/yacc files
+(define-derived-mode bison-mode c-mode "Bison"
+ "Major mode for editing bison/yacc files."
-"
;; try to set the indentation correctly
(setq-default c-basic-offset 4)
(make-variable-buffer-local 'c-basic-offset)
@@ -274,9 +270,7 @@ and \(point\)"
(setq font-lock-defaults '((bison-font-lock-keywords
bison-font-lock-keywords-1
bison-font-lock-keywords-2)
- nil nil nil))
-
-)
+ nil nil nil)))
;; *************** section parsers ***************
- [nongnu] elpa/bison-mode dc479cf 11/29: Merge pull request #1 from syohex/fix-various-things, (continued)
- [nongnu] elpa/bison-mode dc479cf 11/29: Merge pull request #1 from syohex/fix-various-things, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode dba3c1e 12/29: Fixing another byte-compiler warning., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 20b0c65 14/29: Removing some unused, un-namespaced utility functinos., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 127958a 07/29: Correct for buffer local variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 64f66bb 09/29: Add autoload cookie for lazy loading, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 64b70af 21/29: Adding support for jison files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode bb48d82 23/29: Merge pull request #6 from petermoresi/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode a283296 22/29: Adding comment for autoload .jison files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 675df47 25/29: flex-mode variant, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 0de3ce2 15/29: Removing some commented-out debugging code., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 0434673 04/29: Removing dependency on flex-mode.,
ELPA Syncer <=
- [nongnu] elpa/bison-mode 25d6d91 06/29: More checkdoc fixes., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 3a7fd59 08/29: Fix byte-compile warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 9dcb46e 02/29: Checking in the current state of bison-mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode bd0d1eb 03/29: Making checkdoc happier., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 4c3ede9 05/29: Removing make-regexp dependency., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 13622b4 13/29: Removing unnecessary require (define-derived-mode is autoloaded)., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 57339f2 16/29: Adding a changelog., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 4fd075f 17/29: Automatically start bison-mode in .y and .l files., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode f52263f 18/29: Simplifying font-lock variables., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode c29fd9b 19/29: Fix #3., ELPA Syncer, 2021/08/29