emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109802: Remove handling of auto-buff


From: martin rudalics
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109802: Remove handling of auto-buffer-name window parameter.
Date: Tue, 28 Aug 2012 15:51:09 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109802
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Tue 2012-08-28 15:51:09 +0200
message:
  Remove handling of auto-buffer-name window parameter.
  
  * window.c (Fset_window_configuration): Remove handling of
  auto-buffer-name window parameter.
modified:
  src/ChangeLog
  src/window.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-08-28 10:59:17 +0000
+++ b/src/ChangeLog     2012-08-28 13:51:09 +0000
@@ -1,3 +1,8 @@
+2012-08-28  Martin Rudalics  <address@hidden>
+
+       * window.c (Fset_window_configuration): Remove handling of
+       auto-buffer-name window parameter.
+
 2012-08-28  Dmitry Antipov  <address@hidden>
 
        Do not allow to set major mode for a dead buffer.

=== modified file 'src/window.c'
--- a/src/window.c      2012-08-28 06:20:08 +0000
+++ b/src/window.c      2012-08-28 13:51:09 +0000
@@ -62,7 +62,7 @@
 static Lisp_Object Qwindow_resize_root_window, 
Qwindow_resize_root_window_vertically;
 static Lisp_Object Qscroll_up, Qscroll_down, Qscroll_command;
 static Lisp_Object Qsafe, Qabove, Qbelow;
-static Lisp_Object Qauto_buffer_name, Qclone_of;
+static Lisp_Object Qclone_of;
 
 static int displayed_window_lines (struct window *);
 static int count_windows (struct window *);
@@ -5540,7 +5540,6 @@
   struct Lisp_Vector *saved_windows;
   Lisp_Object new_current_buffer;
   Lisp_Object frame;
-  Lisp_Object auto_buffer_name;
   FRAME_PTR f;
   ptrdiff_t old_point = -1;
 
@@ -5794,18 +5793,6 @@
                    BUF_PT_BYTE (XBUFFER (w->buffer)));
               w->start_at_line_beg = 1;
             }
-          else if (STRINGP (auto_buffer_name =
-                            Fwindow_parameter (window, Qauto_buffer_name))
-                   && SCHARS (auto_buffer_name) != 0
-                   && (wset_buffer (w, Fget_buffer_create (auto_buffer_name)),
-                       !NILP (w->buffer)))
-           {
-             set_marker_restricted (w->start,
-                                    make_number (0), w->buffer);
-             set_marker_restricted (w->pointm,
-                                    make_number (0), w->buffer);
-             w->start_at_line_beg = 1;
-           }
          else
            /* Window has no live buffer, get one.  */
            {
@@ -6711,7 +6698,6 @@
   DEFSYM (Qtemp_buffer_show_hook, "temp-buffer-show-hook");
   DEFSYM (Qabove, "above");
   DEFSYM (Qbelow, "below");
-  DEFSYM (Qauto_buffer_name, "auto-buffer-name");
   DEFSYM (Qclone_of, "clone-of");
 
   staticpro (&Vwindow_list);


reply via email to

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