Mercurial > hg > xemacs-beta
diff src/buffer.c @ 406:b8cc9ab3f761 r21-2-33
Import from CVS: tag r21-2-33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:17:09 +0200 |
parents | 2f8bb876ab1d |
children | 501cfd01ee6d |
line wrap: on
line diff
--- a/src/buffer.c Mon Aug 13 11:16:09 2007 +0200 +++ b/src/buffer.c Mon Aug 13 11:17:09 2007 +0200 @@ -195,7 +195,6 @@ Lisp_Object Qdefault_directory; Lisp_Object Qkill_buffer_hook; -Lisp_Object Qrecord_buffer_hook; Lisp_Object Qrename_auto_save_file; @@ -1027,12 +1026,6 @@ /* The aconses in the Vbuffer_alist are shared with frame->buffer_alist, so this will change it in the per-frame ordering as well. */ Fsetcar (Frassq (buf, Vbuffer_alist), newname); - /* If the buffer is the selected one then this is equivalent to - recording the buffer. */ - if (EQ (Fwindow_buffer (Fselected_window (Qnil)), buf)) - { - va_run_hook_with_args (Qrecord_buffer_hook, 1, buf); - } if (NILP (current_buffer->filename) && !NILP (current_buffer->auto_save_file_name)) @@ -1420,8 +1413,6 @@ XCDR (lynk) = f->buffer_alist; f->buffer_alist = lynk; - va_run_hook_with_args (Qrecord_buffer_hook, 1, buffer); - return Qnil; } @@ -2162,7 +2153,6 @@ defsymbol (&Qmode_class, "mode-class"); defsymbol (&Qrename_auto_save_file, "rename-auto-save-file"); defsymbol (&Qkill_buffer_hook, "kill-buffer-hook"); - defsymbol (&Qrecord_buffer_hook, "record-buffer-hook"); defsymbol (&Qpermanent_local, "permanent-local"); defsymbol (&Qfirst_change_hook, "first-change-hook");