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

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

[nongnu] elpa/gnuplot 7138b13 184/184: Fixup parens in gnuplot-trim-gnup


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot 7138b13 184/184: Fixup parens in gnuplot-trim-gnuplot-buffer
Date: Sun, 29 Aug 2021 11:03:41 -0400 (EDT)

branch: elpa/gnuplot
commit 7138b139d2dca9683f1a81325c643b2744aa1ea3
Author: mtreca <maxime.treca@gmail.com>
Commit: mtreca <maxime.treca@gmail.com>

    Fixup parens in gnuplot-trim-gnuplot-buffer
---
 gnuplot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnuplot.el b/gnuplot.el
index b74a91b..5c3e1c0 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -1357,7 +1357,7 @@ This keeps that buffer from growing excessively in size.  
Normally,
 this function is attached to `gnuplot-after-plot-hook'"
   (if (> gnuplot-buffer-max-size 0)
       (with-current-buffer gnuplot-buffer
-        (let (gnuplot-lines (count-lines (point-min) (point-max)))
+        (let ((gnuplot-lines (count-lines (point-min) (point-max))))
           (dotimes (tmp (- gnuplot-lines gnuplot-buffer-max-size))
             (goto-char (point-min))
             (delete-region (line-beginning-position) (1+ (line-end-position))))



reply via email to

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