emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change 6e0ffbf 2/


From: Phillip Lord
Subject: [Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change 6e0ffbf 2/3: Stylistic alteration.
Date: Tue, 15 Sep 2015 21:59:50 +0000

branch: fix/no-undo-boundary-on-secondary-buffer-change
commit 6e0ffbf7e8ad8c4f7823ad34d041c42bcb5d5a07
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Stylistic alteration.
---
 src/undo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/undo.c b/src/undo.c
index 6349f0b..9bd5797 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -314,7 +314,7 @@ Otherwise, returns the size of `buffer-undo-list' in 
bytes.*/)
 
   Lisp_Object prev, next;
   EMACS_INT size_so_far, boundary_so_far, num;
-  if( n )
+  if( ! NILP( n ) )
     {
       CHECK_NUMBER(n);
       num = XINT(n);



reply via email to

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