[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gnuplot 7e33d0d 087/184: three fixes: indentation, require
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gnuplot 7e33d0d 087/184: three fixes: indentation, require cl macros, fix defc |
Date: |
Sun, 29 Aug 2021 11:03:21 -0400 (EDT) |
branch: elpa/gnuplot
commit 7e33d0db1194d7bb9a0165425e60c51e8534f2bd
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>
three fixes: indentation, require cl macros, fix defc
- make new indentation work on XEmacs, which uses a generic "error"
condition when scanning sexps
- (require 'cl) for (case ) macro
- include :group and :type in gnuplot-basic-offset defcustom
---
gnuplot.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnuplot.el b/gnuplot.el
index 0c70392..cdfcc2a 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -340,6 +340,7 @@
(require 'comint)
(require 'easymenu)
+(eval-when-compile (require 'cl))
;; Keep gnuplot-context separate from main gnuplot library, for people
;; who don't want to load the whole thing. Load it automatically on
@@ -647,7 +648,9 @@ to the empty string."
This applies only to new-style do- and if-statements using
braces. Commands continued over a linebreak using a backslash are
always indented to line up with the second word on the line
-beginning the continued command.")
+beginning the continued command."
+ :group 'gnuplot
+ :type 'integer)
;; (defcustom gnuplot-gnuplot-version nil
;; "*Force gnuplot-mode to behave for this version of gnuplot."
@@ -2592,7 +2595,7 @@ Add additional indentation for continuation lines."
(backward-up-list)
(gnuplot-beginning-of-continuation)
(setq indent (+ gnuplot-basic-offset (current-indentation))))
- (scan-error
+ (error
(setq indent 0)))))))
;; Set indentation
- [nongnu] elpa/gnuplot e02534c 066/184: Add menu items for context-sensitive and inline-image modes, (continued)
- [nongnu] elpa/gnuplot e02534c 066/184: Add menu items for context-sensitive and inline-image modes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a70749e 054/184: Fix "replot" command in grammar., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 0ff395e 071/184: Compatibility hacks for pre-23 emacs versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c3e13f0 076/184: change version number to 0.7beta to avoid any confusion, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 319a176 072/184: clean up tests a bit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e9447f0 048/184: More consistent keys between gnuplot.el and gnuplot-context.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot ea83e14 081/184: cleanup parsing tests some more, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot b618811 069/184: Silence some compiler warnings about obsolete font-lock faces, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c520e94 075/184: Remove a redundant check for gnuplot-keywords-pending, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 6792a81 083/184: Simple indentation fix for new block-structured do and if, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 7e33d0d 087/184: three fixes: indentation, require cl macros, fix defc,
ELPA Syncer <=
- [nongnu] elpa/gnuplot 9dd0e15 096/184: Avoid having text syntax-property changes mark buffer as modified, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c52bb6c 089/184: grammar fixes for new-style if statement and blocks, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e457287 099/184: Add aclocal.m4 into repository, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot f5c4437 100/184: Reduce autotools dependency to version 2.61, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e1ee092 097/184: Merge branch 'devel' containing 0.7 release candidate., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot d9ed05b 105/184: remove broken link from readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot aefd4f6 106/184: Cleanup version numbers and copyright dates, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 4858b0d 110/184: Set syntax table in comint buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c2aedf8 111/184: Add ERT tests to check comment and string syntax., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 5efb8a9 112/184: Add Makefile targets to run all tests, ELPA Syncer, 2021/08/29