[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bison-mode 3a7fd59 08/29: Fix byte-compile warnings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bison-mode 3a7fd59 08/29: Fix byte-compile warnings |
Date: |
Sun, 29 Aug 2021 10:58:41 -0400 (EDT) |
branch: elpa/bison-mode
commit 3a7fd59294ba33b87b72e6d292b4c2a650bb48e7
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Fix byte-compile warnings
---
bison-mode.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/bison-mode.el b/bison-mode.el
index 78c5687..ceb605b 100644
--- a/bison-mode.el
+++ b/bison-mode.el
@@ -79,6 +79,7 @@
;; *************** dependencies ***************
(require 'derived) ;; define-derived-mode
+(require 'cc-mode)
;; *************** internal vars ***************
@@ -237,7 +238,7 @@ and \(point\)"
;; remove auto and hungry anything
(c-toggle-auto-hungry-state -1)
- (c-toggle-auto-state -1)
+ (c-toggle-auto-newline -1)
(c-toggle-hungry-state -1)
(use-local-map bison-mode-map)
@@ -276,7 +277,7 @@ and \(point\)"
"Return the section that user is currently in"
(save-excursion
(let ((bound (point)))
- (beginning-of-buffer)
+ (goto-char (point-min))
(bison--section-p-helper bound))))
(defun bison--section-p-helper (bound)
@@ -413,7 +414,7 @@ found."
(let ((point (or point (point)))
(in-p nil))
(save-excursion
- (beginning-of-buffer)
+ (goto-char (point-min))
(while (re-search-forward "[^\\]\"" point t)
(setq in-p (not in-p)))
- [nongnu] elpa/bison-mode 20b0c65 14/29: Removing some unused, un-namespaced utility functinos., (continued)
- [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, 2021/08/29
- [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 <=
- [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
- [nongnu] elpa/bison-mode 3509f18 20/29: Removing commented-out code., ELPA Syncer, 2021/08/29
- [nongnu] elpa/bison-mode 314af3b 24/29: autoload jison (#8), ELPA Syncer, 2021/08/29