diff --git a/src/nano.c b/src/nano.c
index db1ac411da8fdd8ed782df42fdf5c8a4a010ea96..ad2f49f1d658b4263c6fc839bd9a1781bc8d8089 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -1184,6 +1184,7 @@ bool open_pipe(const char *command)
 	nperror("fdopen");
 
     read_file(f, "stdin");
+
     /* If multibuffer mode is on, we could be here in view mode.  If so,
      * don't set the modification flag. */
     if (!ISSET(VIEW_MODE))
diff --git a/src/nano.h b/src/nano.h
index 6fff20cb06ce52686ef17c7349ebb4bf116e470e..ba6f2139e58c5f75d7b16c8587ceee3be027b2df 100644
--- a/src/nano.h
+++ b/src/nano.h
@@ -128,11 +128,6 @@
 #define getline ngetline
 #endif
 
-/* Assume ERR is defined as -1.  To avoid duplicate case values when
- * some key definitions are missing, we have to set all of these, and
- * all of the special sentinel values below, to different negative
- * values other than -1. */
-
 #define VERMSG "GNU nano " VERSION
 
 /* If we aren't using ncurses, turn the mouse support off, as it's
@@ -246,24 +241,28 @@ typedef struct rcoption {
 
 #ifdef ENABLE_COLOR
 typedef struct colortype {
-    int fg;			/* fg color */
-    int bg;			/* bg color */
+    int fg;			/* Foreground color. */
+    int bg;			/* Background color. */
     int bright;			/* Is this color A_BOLD? */
-    int pairnum;		/* Color pair number used for this fg/bg */
-    regex_t start;		/* Start (or all) of the regex string */
-    regex_t *end;		/* End of the regex string */
+    int pairnum;		/* Color pair number used for this
+				 * foreground/background. */
+    regex_t start;		/* Start (or all) of the regex
+				 * string. */
+    regex_t *end;		/* End (if any) of the regex string. */
     struct colortype *next;
 } colortype;
 
 typedef struct exttype {
-    regex_t val;		/* The extensions that match this syntax. */
+    regex_t val;		/* The extensions that match this
+				 * syntax. */
     struct exttype *next;
 } exttype;
 
 typedef struct syntaxtype {
-    char *desc;			/* Name of this syntax type */
-    exttype *extensions;	/* List of extensions that this applies to */
-    colortype *color;		/* color struct for this syntax */
+    char *desc;			/* Name of this syntax type. */
+    exttype *extensions;	/* List of extensions that this syntax
+				 * applies to. */
+    colortype *color;		/* Color struct for this syntax. */
     struct syntaxtype *next;
 } syntaxtype;
 #endif
@@ -278,7 +277,7 @@ typedef struct historytype {
 typedef struct historyheadtype {
     struct historytype *next;	/* Keep *next and *prev members
 				 * together. */
-    struct historytype *prev;	/* And in same order as in
+    struct historytype *prev;	/* And in the same order as in
 				 * historytype. */
     struct historytype *tail;
     struct historytype *current;
@@ -524,8 +523,7 @@ typedef struct historyheadtype {
 /* Default width of a tab. */
 #define WIDTH_OF_TAB 8
 
-/* Maximum number of search history strings saved, same value used for
- * replace history. */
+/* Maximum number of search/replace history strings saved. */
 #define MAX_SEARCH_HISTORY 100
 
 #endif /* !NANO_H */