]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fforward_char, Fdelete_char): Use xsignal0.
authorKim F. Storm <storm@cua.dk>
Tue, 18 Jul 2006 13:26:05 +0000 (13:26 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 18 Jul 2006 13:26:05 +0000 (13:26 +0000)
src/cmds.c

index 494ef14db994f55e54412bf0f91453849e774474..b84b9d1d85e884f57bf2d0778902ba58dbd3e3a2 100644 (file)
@@ -77,12 +77,12 @@ On reaching end of buffer, stop and signal error.  */)
     if (new_point < BEGV)
       {
        SET_PT (BEGV);
-       Fsignal (Qbeginning_of_buffer, Qnil);
+       xsignal0 (Qbeginning_of_buffer);
       }
     if (new_point > ZV)
       {
        SET_PT (ZV);
-       Fsignal (Qend_of_buffer, Qnil);
+       xsignal0 (Qend_of_buffer);
       }
 
     SET_PT (new_point);
@@ -245,14 +245,14 @@ N was explicitly specified.  */)
       if (XINT (n) < 0)
        {
          if (pos < BEGV)
-           Fsignal (Qbeginning_of_buffer, Qnil);
+           xsignal0 (Qbeginning_of_buffer);
          else
            del_range (pos, PT);
        }
       else
        {
          if (pos > ZV)
-           Fsignal (Qend_of_buffer, Qnil);
+           xsignal0 (Qend_of_buffer);
          else
            del_range (PT, pos);
        }