emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/buffer.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/buffer.c
Date: Sun, 01 Jun 2003 19:27:34 -0400

Index: emacs/src/buffer.c
diff -c emacs/src/buffer.c:1.423 emacs/src/buffer.c:1.424
*** emacs/src/buffer.c:1.423    Thu May 29 14:36:07 2003
--- emacs/src/buffer.c  Sun Jun  1 19:27:34 2003
***************
*** 2049,2055 ****
    Lisp_Object tail, markers;
    struct buffer *other;
    int undo_enabled_p = !EQ (current_buffer->undo_list, Qt);
!   int begv = BEGV, zv = ZV;
    int narrowed = (BEG != begv || Z != zv);
    int modified_p = !NILP (Fbuffer_modified_p (Qnil));
  
--- 2049,2055 ----
    Lisp_Object tail, markers;
    struct buffer *other;
    int undo_enabled_p = !EQ (current_buffer->undo_list, Qt);
!   int begv, zv;
    int narrowed = (BEG != begv || Z != zv);
    int modified_p = !NILP (Fbuffer_modified_p (Qnil));
  
***************
*** 2067,2072 ****
--- 2067,2077 ----
  
    /* If the cached position is for this buffer, clear it out.  */
    clear_charpos_cache (current_buffer);
+ 
+   if (NILP (flag))
+     begv = BEGV_BYTE, zv = ZV_BYTE;
+   else
+     begv = BEGV, zv = ZV;
  
    if (narrowed)
      Fwiden ();




reply via email to

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