]> git.neil.brown.name Git - edlib.git/commitdiff
Remove extra blank lines.
authorNeilBrown <neil@brown.name>
Wed, 30 Jun 2021 05:42:28 +0000 (15:42 +1000)
committerNeilBrown <neil@brown.name>
Wed, 30 Jun 2021 11:49:54 +0000 (21:49 +1000)
Blank lines are start or end of file, or adjacent to a blank line, are
removed.

Signed-off-by: NeilBrown <neil@brown.name>
21 files changed:
core-doc.c
core-editor.c
core-keymap.c
core-misc.c
core.h
doc-text.c
edlib.c
emacs-search.c
lang-python.c
lib-aspell.c
lib-colourmap.c
lib-history.c
lib-messageline.c
lib-tile.c
lib-whitespace.c
md5test.c
misc.h
mode-emacs.c
render-complete.c
render-lines.c
vfunc.h

index 02bd96dfc863815d0f976c21edd6c50afd24f6f9..c670fd326b6532eaf14a247e583bc6afbdd69b7c 100644 (file)
@@ -1204,7 +1204,6 @@ DEF_CMD(doc_abort)
        return Efallthrough;
 }
 
-
 struct map *doc_default_cmd safe;
 static struct map *doc_handle_cmd safe;
 
index 856c30982648b11dc3e514bd75522b212dbf4723..5dbe4f4625e0e4e1af13d0d085ff1cdf5edf4724 100644 (file)
@@ -37,7 +37,6 @@ struct ed_info {
 
 DEF_LOOKUP_CMD(ed_handle, ed_map);
 
-
 DEF_CMD(global_set_attr)
 {
        if (!ci->str)
index 8b077013b3bb3f85f805a1813b90f72f16faa4f6..196fa142c0d689ed4f151759ad2bf8afd8c7053b 100644 (file)
@@ -334,7 +334,6 @@ void key_add_chain(struct map *map safe, struct map *chain)
        map->chain = chain;
 }
 
-
 #if 0
 void key_del(struct map *map, wint_t k)
 {
index b7012bf14982b9ccb401c0279c356babfd512cec..90372f38fe5ef10ddc2a8189d52738b46495cb63 100644 (file)
@@ -64,7 +64,6 @@ void buf_append_byte(struct buf *b safe, char c)
        buf_concat_len(b, &c, 1);
 }
 
-
 /*
  * performance measurements
  */
diff --git a/core.h b/core.h
index ffcb82226520a2dd618d21c7462f4533adc4c60c..617d03965f762379353c4907830adbda419e6bd6 100644 (file)
--- a/core.h
+++ b/core.h
@@ -366,7 +366,6 @@ struct lookup_cmd {
 #define REDEF_CB(_name) \
        static int _name ## _func(const struct cmd_info *ci safe)
 
-
 #define DEF_LOOKUP_CMD(_name, _map) \
        static struct lookup_cmd _name = {              \
                .c.func = key_lookup_cmd_func,          \
@@ -474,7 +473,6 @@ enum {
        DAMAGED_POSTORDER       = BIT(7), /* Pane wants to be called again */
        DAMAGED_POSTORDER_CHILD = BIT(8), /* Child pane wants to be called again */
 
-
        DAMAGED_CLOSED          = BIT(15),
        DAMAGED_DEAD            = BIT(14), /* Fully closed, but not freed yet */
        DAMAGED_NOT_HANDLED     = BIT(13), /* A for() loop is processing
index 463336db6d128d83a3b27a19be952fdbc40e8e61..18d797752192dd254f145cf7a266178d02b1f696 100644 (file)
@@ -2350,7 +2350,6 @@ DEF_CMD(text_replace)
        return first ? 1 : 2;
 }
 
-
 static struct attrset *text_attrset(struct doc *d safe, struct mark *m safe,
                                    int *op safe)
 {
diff --git a/edlib.c b/edlib.c
index b5f1998466ca21254708a137a808c2e264f80ee1..ef18007b0d1d02a161e80835a4a3bb46a8475ebf 100644 (file)
--- a/edlib.c
+++ b/edlib.c
@@ -1,4 +1,3 @@
-
 /*
  * Copyright Neil Brown ©2015-2021 <neil@brown.name>
  * May be distributed under terms of GPLv2 - see file:COPYING
index 3fa7e61e9e4fa48fd48feb58b511ddb4caf37d50..a78adc93c030af2c7dd566b70b2629aa3e857b46 100644 (file)
@@ -810,7 +810,6 @@ DEF_CMD(emacs_replace_highlight)
        return 1;
 }
 
-
 DEF_CMD(emacs_hl_attrs)
 {
        struct highlight_info *hi = ci->home->data;
@@ -909,7 +908,6 @@ DEF_CMD(highlight_draw)
        return Efallthrough;
 }
 
-
 DEF_CMD(emacs_search_reposition_delayed)
 {
        struct highlight_info *hi = ci->home->data;
@@ -1106,7 +1104,6 @@ DEF_CMD(emacs_search_attach_highlight)
        return 1;
 }
 
-
 void edlib_init(struct pane *ed safe)
 {
        call_comm("global-set-command", ed, &emacs_search,
index d7b90b9389678bcff6ccc315cd6064a5689fe28a..c8807984425018c24650c45965b63b30898c5eb6 100644 (file)
@@ -39,7 +39,6 @@
 #define __x86_64__
 #define __LP64__
 
-
 //#define PyType_HasFeature __PyType_HasFeature
 #include <Python.h>
 #undef PyType_HasFeature __PyType_HasFeature
index b292406708bba8afe8e42c01205ff47210777a94..13f7ad5b64102ad252cd97a42f9260092392f45b 100644 (file)
@@ -107,7 +107,6 @@ static inline bool is_word_final(wint_t ch)
        return iswalpha(ch);
 }
 
-
 DEF_CMD(spell_this)
 {
        /* Find a word "here" to spell. It must include the first
index 96be903c3b95518c5ebbd74c22b32410cc7e0f3b..83887c57df6e7d2aff7fe190752fcd98b1cf264e 100644 (file)
@@ -99,7 +99,6 @@ static void add_sat(char *n, int rgb[])
                rgb[i] = 1000 - ( (99 - scale) * (1000 - rgb[i]) / 99);
 }
 
-
 DEF_CMD(colour_map)
 {
        char *col;
index fce4101de8f537c3c6a38f55b8673fb4af6c4f92..0b1acaecfec3fc2dee2c642f8e45a577f551fdba 100644 (file)
@@ -96,7 +96,6 @@ DEF_CMD(history_done)
        return Efallthrough;
 }
 
-
 DEF_CMD(history_notify_replace)
 {
        struct history_info *hi = ci->home->data;
index cd0dfc4077e8313592bb9cad9aed05dace08ecb8..4012a3eda1631ca3e78f769c79b7d950d696bce6 100644 (file)
@@ -23,7 +23,6 @@
 #include <string.h>
 #include <time.h>
 
-
 #include "core.h"
 
 struct mlinfo {
index fdc745b8558da5028d0def26004dddca40730ce4..5c75649407915dc20ac78a7fd94a566bea9ae8d4 100644 (file)
@@ -58,7 +58,6 @@ static inline bool mine(struct pane *t safe)
        return t->z == 0 && t->handle == &tile_handle.c;
 }
 
-
 DEF_CMD(tile_close)
 {
        tile_destroy(ci->home);
index 292690ac5038a24234e79940d5eef5fc47d7c0b7..446764fcfae7b0c716a29ee8f2ef01a82c97d3c4 100644 (file)
@@ -342,4 +342,3 @@ void edlib_init(struct pane *ed safe)
                  0, NULL, "interactive-cmd-whitespace-mode");
 
 }
-
index ade0bea50f36a84e775bc6c8779aedaf88791887..8ec725554a5305377b0c41c9307eb6b51192ab1c 100644 (file)
--- a/md5test.c
+++ b/md5test.c
@@ -1,4 +1,3 @@
-
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>
diff --git a/misc.h b/misc.h
index 7f583972b43bb1d8abc8264e88b37bf96111a87b..5db8a681f1fe583c35505149373c783f2818f56b 100644 (file)
--- a/misc.h
+++ b/misc.h
@@ -44,7 +44,6 @@ static inline void buf_reinit(struct buf *b safe)
        b->len = 0;
 }
 
-
 /* Performance measurements.
  * 1/ timers.
  */
index 4ff8d971d506d32c4bdd1d0b331ec05ae8c7541f..b6c0f2ad6973e7fde9397e52423f158c39d3cc62 100644 (file)
@@ -2892,7 +2892,6 @@ DEF_CMD(emacs_quote)
        return 1;
 }
 
-
 DEF_PFX_CMD(alt_cmd, ":A");
 DEF_PFX_CMD(cx_cmd, ":CX");
 DEF_PFX_CMD(cx4_cmd, ":CX4");
index 63483749d552124b85203683593a3b12c997f24e..9e552b1cdabd756d560c589100fef04e4f9a1bb2 100644 (file)
@@ -122,7 +122,6 @@ DEF_CMD(complete_free)
        return 1;
 }
 
-
 static struct pane *complete_pane(struct pane *focus)
 {
        struct pane *complete;
index 36e5273dc1afeb5ee48abf0d6b8f9d0243ed15be..f24427af436f37cdef9c1c6523036b78d4aff991 100644 (file)
@@ -98,7 +98,6 @@
  * relative to the focus pane 'p'.
  */
 
-
 struct rl_data {
        int             top_sol; /* true when first mark is at a start-of-line */
        int             ignore_point;
diff --git a/vfunc.h b/vfunc.h
index 48a9e44b9083c706327cd8336b71aa969d7e52cf..8960047711fd144513647acdc7866690aab7ca58 100644 (file)
--- a/vfunc.h
+++ b/vfunc.h
@@ -1,9 +1,6 @@
-
 #ifndef __VFUNC_H__
 #define __VFUNC_H__
 
-
-
 /* Macro magic taken from
  * https://stackoverflow.com/questions/11761703/overloading-macro-on-number-of-arguments
  */