From 96a72ee9ff50672d69e58255f5953481bcf0a6ee Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 1 Mar 2012 21:57:19 -0500 Subject: [PATCH] * src/buffer.c (buffer-list-update-hook): Doc fix. --- src/ChangeLog | 4 ++++ src/buffer.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 428d25f7cc..ecfd83eef3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-03-02 Glenn Morris + + * buffer.c (buffer-list-update-hook): Doc fix. + 2012-02-29 Eli Zaretskii * xdisp.c (get_overlay_strings_1): Under bidi redisplay, call diff --git a/src/buffer.c b/src/buffer.c index 71a5e199c6..1577254d92 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1,6 +1,6 @@ /* Buffer manipulation primitives for GNU Emacs. -Copyright (C) 1985-1989, 1993-1995, 1997-2012 Free Software Foundation, Inc. +Copyright (C) 1985-1989, 1993-1995, 1997-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1717,7 +1717,7 @@ record_buffer (Lisp_Object buffer) /* Move BUFFER to the end of the buffer (a)lists. Do nothing if the buffer is killed. For the selected frame's buffer list this moves BUFFER to its end even if it was never shown in that frame. If - this happens we have a feature, hence `unrecord-buffer' should be + this happens we have a feature, hence `bury-buffer-internal' should be called only when BUFFER was shown in the selected frame. */ DEFUN ("bury-buffer-internal", Fbury_buffer_internal, Sbury_buffer_internal, @@ -5996,7 +5996,7 @@ The function `kill-all-local-variables' runs this before doing anything else. * doc: /* Hook run when the buffer list changes. Functions running this hook are `get-buffer-create', `make-indirect-buffer', `rename-buffer', `kill-buffer', -`record-buffer' and `unrecord-buffer'. */); +and `bury-buffer-internal'. */); Vbuffer_list_update_hook = Qnil; DEFSYM (Qbuffer_list_update_hook, "buffer-list-update-hook"); -- 2.20.1