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: Wed, 3 May 2017 03:18:05 -0400 (EDT)

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        17/05/03 03:18:05

Modified files:
        .              : shell.c 

Log message:
        shell: set error pointer upon process buffer creation

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

Patches:
Index: shell.c
===================================================================
RCS file: /sources/qemacs/qemacs/shell.c,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -b -r1.130 -r1.131
--- shell.c     26 Apr 2017 07:05:42 -0000      1.130
+++ shell.c     3 May 2017 07:18:05 -0000       1.131
@@ -2162,7 +2162,9 @@
 
     b->default_mode = &shell_mode;
     switch_to_buffer(s, b);
-
+    /* set next error reference point, also used for do_shell to determine
+     * the last process buffer used */
+    set_error_offset(b, 0);
     put_status(s, "Press C-o to toggle between shell/edit mode");
 }
 



reply via email to

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