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: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/buffer.c
Date: Fri, 04 Apr 2003 01:23:47 -0500

Index: emacs/src/buffer.c
diff -c emacs/src/buffer.c:1.415 emacs/src/buffer.c:1.416
*** emacs/src/buffer.c:1.415    Mon Mar  3 14:06:49 2003
--- emacs/src/buffer.c  Tue Mar 25 11:20:38 2003
***************
*** 2568,2574 ****
     and we store only as many overlays as will fit.
     But we still return the total number of overlays.  */
  
! int
  overlays_in (beg, end, extend, vec_ptr, len_ptr, next_ptr, prev_ptr)
       int beg, end;
       int extend;
--- 2568,2574 ----
     and we store only as many overlays as will fit.
     But we still return the total number of overlays.  */
  
! static int
  overlays_in (beg, end, extend, vec_ptr, len_ptr, next_ptr, prev_ptr)
       int beg, end;
       int extend;
***************
*** 5362,5368 ****
  
    DEFVAR_PER_BUFFER ("enable-multibyte-characters",
                     &current_buffer->enable_multibyte_characters,
!                    make_number (-1),
                     doc: /* Non-nil means the buffer contents are regarded as 
multi-byte characters.
  Otherwise they are regarded as unibyte.  This affects the display,
  file I/O and the behavior of various editing commands.
--- 5362,5368 ----
  
    DEFVAR_PER_BUFFER ("enable-multibyte-characters",
                     &current_buffer->enable_multibyte_characters,
!                    Qnil,
                     doc: /* Non-nil means the buffer contents are regarded as 
multi-byte characters.
  Otherwise they are regarded as unibyte.  This affects the display,
  file I/O and the behavior of various editing commands.
***************
*** 5372,5377 ****
--- 5372,5378 ----
  Changing its default value with `setq-default' is supported.
  See also variable `default-enable-multibyte-characters' and Info node
  `(elisp)Text Representations'.  */);
+   XSYMBOL (intern ("enable-multibyte-characters"))->constant = 1;
  
    DEFVAR_PER_BUFFER ("buffer-file-coding-system",
                     &current_buffer->buffer_file_coding_system, Qnil,
***************
*** 5676,5682 ****
    DEFVAR_PER_BUFFER ("buffer-file-format", &current_buffer->file_format, Qnil,
                     doc: /* List of formats to use when saving this buffer.
  Formats are defined by `format-alist'.  This variable is
! set when a file is visited.  Automatically local in all buffers.  */);
  
    DEFVAR_PER_BUFFER ("buffer-invisibility-spec",
                     &current_buffer->invisibility_spec, Qnil,
--- 5677,5683 ----
    DEFVAR_PER_BUFFER ("buffer-file-format", &current_buffer->file_format, Qnil,
                     doc: /* List of formats to use when saving this buffer.
  Formats are defined by `format-alist'.  This variable is
! set when a file is visited.  */);
  
    DEFVAR_PER_BUFFER ("buffer-invisibility-spec",
                     &current_buffer->invisibility_spec, Qnil,




reply via email to

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