X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/346dae059b9e5d88e44b77839bb10ade640d0f28..8d5b986d0f880ddbd887865ae12b403df0464168:/src/commands.h diff --git a/src/commands.h b/src/commands.h index 57de2ccae4..0494478541 100644 --- a/src/commands.h +++ b/src/commands.h @@ -5,7 +5,7 @@ This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) +the Free Software Foundation; either version 2, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, @@ -15,7 +15,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #define Ctl(c) ((c)&037) @@ -52,15 +53,10 @@ extern Lisp_Object Vunread_command_events; Setting this is obsolete, but some things should still check it. */ extern int unread_command_char; -/* Last command executed by the editor command loop, not counting - commands that set the prefix argument. */ - -extern Lisp_Object last_command; - /* The command being executed by the command loop. - Commands may set this, and the value set will be copied into last_command - instead of the actual command. */ -extern Lisp_Object this_command; + Commands may set this, and the value set will be copied into + current_kboard->Vlast_command instead of the actual command. */ +extern Lisp_Object Vthis_command; /* If not Qnil, this is a switch-frame event which we decided to put off until the end of a key sequence. This should be read as the @@ -71,9 +67,6 @@ extern Lisp_Object this_command; events until a non-ASCII event is acceptable as input. */ extern Lisp_Object unread_switch_frame; -/* Previous command symbol found here for comparison */ -extern Lisp_Object last_command; - /* The value of point when the last command was executed. */ extern int last_point_position;