[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/buffer.c
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/buffer.c |
Date: |
Sun, 10 Apr 2005 19:22:38 -0400 |
Index: emacs/src/buffer.c
diff -c emacs/src/buffer.c:1.476 emacs/src/buffer.c:1.477
*** emacs/src/buffer.c:1.476 Thu Mar 17 23:37:39 2005
--- emacs/src/buffer.c Sun Apr 10 23:22:38 2005
***************
*** 630,636 ****
XMARKER (b->zv_marker)->insertion_type = 1;
}
else
! clone_per_buffer_values (b->base_buffer, b);
return buf;
}
--- 630,650 ----
XMARKER (b->zv_marker)->insertion_type = 1;
}
else
! {
! struct buffer *old_b = current_buffer;
!
! clone_per_buffer_values (b->base_buffer, b);
! b->filename = Qnil;
! b->file_truename = Qnil;
! b->display_count = make_number (0);
! b->backed_up = Qnil;
! b->auto_save_file_name = Qnil;
! set_buffer_internal_1 (b);
! Fset (intern ("buffer-save-without-query"), Qnil);
! Fset (intern ("buffer-file-number"), Qnil);
! Fset (intern ("buffer-stale-function"), Qnil);
! set_buffer_internal_1 (old_b);
! }
return buf;
}
***************
*** 931,937 ****
}
/* Return an alist of the Lisp-level buffer-local bindings of
! buffer BUF. That is, do't include the variables maintained
in special slots in the buffer object. */
static Lisp_Object
--- 945,951 ----
}
/* Return an alist of the Lisp-level buffer-local bindings of
! buffer BUF. That is, don't include the variables maintained
in special slots in the buffer object. */
static Lisp_Object
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/buffer.c,
Richard M . Stallman <=