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

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

[nongnu] elpa/gnuplot 327d564 091/184: Fix indentation: only outdent a m


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot 327d564 091/184: Fix indentation: only outdent a maximum of one closing brace per line
Date: Sun, 29 Aug 2021 11:03:22 -0400 (EDT)

branch: elpa/gnuplot
commit 327d564bf233c8627dc1166e9eb4a31c5302dffe
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>

    Fix indentation: only outdent a maximum of one closing brace per line
---
 gnuplot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnuplot.el b/gnuplot.el
index f7c99f0..e75fcdb 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -2591,7 +2591,8 @@ Add additional indentation for continuation lines."
             (condition-case nil
                 (progn
                   (beginning-of-line)
-                  (skip-syntax-forward "-)" (point-at-eol))
+                  (skip-syntax-forward "-" (point-at-eol))
+                  (if (looking-at "\\s)") (forward-char))
                   (backward-up-list)
                   (gnuplot-beginning-of-continuation)
                   (setq indent (+ gnuplot-basic-offset (current-indentation))))



reply via email to

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