branch: elpa/gnuplot
commit 7138b139d2dca9683f1a81325c643b2744aa1ea3
Author: mtreca <[email protected]>
Commit: mtreca <[email protected]>
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))))