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

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

[nongnu] elpa/bison-mode c29fd9b 19/29: Fix #3.


From: ELPA Syncer
Subject: [nongnu] elpa/bison-mode c29fd9b 19/29: Fix #3.
Date: Sun, 29 Aug 2021 10:58:43 -0400 (EDT)

branch: elpa/bison-mode
commit c29fd9b19c301ebc211a46b23d8a401c57557dcb
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Wilfred Hughes <me@wilfred.me.uk>

    Fix #3.
---
 bison-mode.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bison-mode.el b/bison-mode.el
index 552a901..2f0e26f 100644
--- a/bison-mode.el
+++ b/bison-mode.el
@@ -447,7 +447,10 @@ save excursion is done higher up, so i dont concern myself 
here.
       (if success
          (let ((end-pt
                 (condition-case nil
-                    (progn (forward-sexp) (point))
+                    (progn
+                       (backward-char)
+                       (forward-sexp)
+                       (point))
                   (error nil))))
            (if end-pt
                (if (> end-pt low-pt)



reply via email to

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