changeset 21840:89d03805f45a

(main): Use Vbuffer_alist instead of Fbuffer_list. (syms_of_emacs): Fix doc of Vsignal_USR1_hook and Vsignal_USR2_hook.
author Andreas Schwab <schwab@suse.de>
date Wed, 29 Apr 1998 09:35:31 +0000
parents 376ce06ab12d
children 12c75f0ef578
files src/emacs.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Wed Apr 29 09:33:53 1998 +0000
+++ b/src/emacs.c	Wed Apr 29 09:35:31 1998 +0000
@@ -1015,12 +1015,12 @@
 	  message_dolog ("", 0, 1, 0);
 	  Vmessage_log_max = old_log_max;
 
-	  for (tail = Fbuffer_list (); CONSP (tail);
+	  for (tail = Vbuffer_alist; CONSP (tail);
 	       tail = XCONS (tail)->cdr)
 	    {
 	      Lisp_Object buffer;
 
-	      buffer = XCONS (tail)->car;
+	      buffer = Fcdr (XCONS (tail)->car);
 	      /* Verify that all buffers are empty now, as they
 		 ought to be.  */
 	      if (BUF_Z (XBUFFER (buffer)) > BUF_BEG (XBUFFER (buffer)))
@@ -1839,11 +1839,11 @@
 
 #ifdef SIGUSR1
   DEFVAR_LISP ("signal-USR1-hook", &Vsignal_USR1_hook,
-    "Hook to be run whenever emacs recieves a USR1 signal");
+    "Hook to be run whenever emacs receives a USR1 signal");
   Vsignal_USR1_hook = Qnil;
 #ifdef SIGUSR2
   DEFVAR_LISP ("signal-USR2-hook", &Vsignal_USR2_hook,
-    "Hook to be run whenever emacs recieves a USR2 signal");
+    "Hook to be run whenever emacs receives a USR2 signal");
   Vsignal_USR2_hook = Qnil;
 #endif
 #endif