qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs shell.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs shell.c
Date: Tue, 03 Dec 2013 17:44:00 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        13/12/03 17:44:00

Modified files:
        .              : shell.c 

Log message:
        make shell output buffers unmodified upon process exit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/shell.c?cvsroot=qemacs&r1=1.65&r2=1.66

Patches:
Index: shell.c
===================================================================
RCS file: /sources/qemacs/qemacs/shell.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- shell.c     30 Nov 2013 14:18:57 -0000      1.65
+++ shell.c     3 Dec 2013 17:44:00 -0000       1.66
@@ -1307,8 +1307,11 @@
 
         eb_write(b, b->total_size, buf, strlen(buf));
 
+        if (save_readonly) {
+            s->b->modified = 0;
         s->b->flags |= save_readonly;
     }
+    }
 
     set_pid_handler(s->pid, NULL, NULL);
     s->pid = -1;
@@ -1486,7 +1489,7 @@
     /* Assume standard man command */
     man_path = "/usr/bin/man";
 
-    snprintf(bufname, sizeof(bufname), "*man %s*", arg);
+    snprintf(bufname, sizeof(bufname), "*Man %s*", arg);
     if (try_show_buffer(s, bufname))
         return;
 



reply via email to

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