aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-29 09:35:31 +0000
committerAndreas Schwab1998-04-29 09:35:31 +0000
commit3e75bb9e71383ed0fb7378311ccb23113cc58e65 (patch)
tree3f34264ef16389160b47fe21d7d4c58afacfb505 /src
parentf82423d72166a1821b33c0a85c9143de0a9f3d2d (diff)
downloademacs-3e75bb9e71383ed0fb7378311ccb23113cc58e65.tar.gz
emacs-3e75bb9e71383ed0fb7378311ccb23113cc58e65.zip
(main): Use Vbuffer_alist instead of Fbuffer_list.
(syms_of_emacs): Fix doc of Vsignal_USR1_hook and Vsignal_USR2_hook.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 18cf9a7c2a5..d0fed40077e 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1015,12 +1015,12 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]);
1015 message_dolog ("", 0, 1, 0); 1015 message_dolog ("", 0, 1, 0);
1016 Vmessage_log_max = old_log_max; 1016 Vmessage_log_max = old_log_max;
1017 1017
1018 for (tail = Fbuffer_list (); CONSP (tail); 1018 for (tail = Vbuffer_alist; CONSP (tail);
1019 tail = XCONS (tail)->cdr) 1019 tail = XCONS (tail)->cdr)
1020 { 1020 {
1021 Lisp_Object buffer; 1021 Lisp_Object buffer;
1022 1022
1023 buffer = XCONS (tail)->car; 1023 buffer = Fcdr (XCONS (tail)->car);
1024 /* Verify that all buffers are empty now, as they 1024 /* Verify that all buffers are empty now, as they
1025 ought to be. */ 1025 ought to be. */
1026 if (BUF_Z (XBUFFER (buffer)) > BUF_BEG (XBUFFER (buffer))) 1026 if (BUF_Z (XBUFFER (buffer)) > BUF_BEG (XBUFFER (buffer)))
@@ -1839,11 +1839,11 @@ see `kill-emacs-query-functions' instead.");
1839 1839
1840#ifdef SIGUSR1 1840#ifdef SIGUSR1
1841 DEFVAR_LISP ("signal-USR1-hook", &Vsignal_USR1_hook, 1841 DEFVAR_LISP ("signal-USR1-hook", &Vsignal_USR1_hook,
1842 "Hook to be run whenever emacs recieves a USR1 signal"); 1842 "Hook to be run whenever emacs receives a USR1 signal");
1843 Vsignal_USR1_hook = Qnil; 1843 Vsignal_USR1_hook = Qnil;
1844#ifdef SIGUSR2 1844#ifdef SIGUSR2
1845 DEFVAR_LISP ("signal-USR2-hook", &Vsignal_USR2_hook, 1845 DEFVAR_LISP ("signal-USR2-hook", &Vsignal_USR2_hook,
1846 "Hook to be run whenever emacs recieves a USR2 signal"); 1846 "Hook to be run whenever emacs receives a USR2 signal");
1847 Vsignal_USR2_hook = Qnil; 1847 Vsignal_USR2_hook = Qnil;
1848#endif 1848#endif
1849#endif 1849#endif