From: Paul Eggert Date: Mon, 14 Mar 2011 23:32:27 +0000 (-0700) Subject: * buffer.c (switch_to_buffer_1): Now static. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~554^2~97 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3bd59b510ddf8a9188a7dcd46b0a01a9b3f6172;p=emacs.git * buffer.c (switch_to_buffer_1): Now static. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0a6b29a006c..9bdfb18239f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-14 Paul Eggert + * buffer.c (switch_to_buffer_1): Now static. + * sysdep.c (system_process_attributes): Rename vars to avoid shadowing. Fix pointer signedness issue. (sys_subshell): Mark local as volatile if checking for lint, diff --git a/src/buffer.c b/src/buffer.c index 01940728275..68253a261c4 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1712,7 +1712,7 @@ the current buffer's major mode. */) /* Switch to buffer BUFFER in the selected window. If NORECORD is non-nil, don't call record_buffer. */ -Lisp_Object +static Lisp_Object switch_to_buffer_1 (Lisp_Object buffer_or_name, Lisp_Object norecord) { register Lisp_Object buffer;