% Nothing else needs to be changed below this line.
% Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
-% 2005, 2006, 2007 Free Software Foundation, Inc.
+% 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
% 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 2, or (at your option)
+% the Free Software Foundation; either version 3, or (at your option)
% any later version.
% GNU Emacs is distributed in the hope that it will be useful,
% If there were room, it would be nice to see a section on Dired.
\def\versionnumber{2.3} % version of this manual
-\def\versionyear{2006} % year manual was updated
+\def\versionyear{2007} % year manual was updated
\def\versionemacs{22} % version of emacs this manual is for
-\def\year{2007} % copyright year
+\def\year{2008} % copyright year
\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
\centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
\centerline{v\versionnumber{} for GNU Emacs version \versionemacs, \versionyear}
\centerline{designed by Stephen Gildea}
-Permission is granted to make and distribute copies of
-this card provided the copyright notice and this permission notice
-are preserved on all copies.
+Permission is granted to make and distribute modified or unmodified
+copies of this card provided the copyright notice and this permission
+notice are preserved on all copies.
For copies of the GNU Emacs manual, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
\key{abort current search}{C-g}
Use \kbd{C-s} or \kbd{C-r} again to repeat the search in either direction.
-If Emacs is still searching, \kbd{C-g} cancels only the part not done.
+If Emacs is still searching, \kbd{C-g} cancels only the part not matched.
\shortcopyrightnotice
\key{put exactly one space at point}{M-SPC}
\key{fill paragraph}{M-q}
-\key{set fill column}{C-x f}
+\key{set fill column to {\it arg}}{C-x f}
\key{set prefix each line starts with}{C-x .}
\key{set face}{M-o}
\key{abort command}{C-g}
Type \kbd{C-x ESC ESC} to edit and repeat the last command that used the
-minibuffer. Type \kbd{F10} to activate the menu bar using the minibuffer.
+minibuffer. Type \kbd{F10} to activate menu bar items on text terminals.
\newcolumn
\title{GNU Emacs Reference Card}
% The intended audience here is the person who wants to make simple
% customizations and knows Lisp syntax.
-Making global key bindings in Emacs Lisp (examples):
+Making global key bindings in Emacs Lisp (example):
\beginexample%
-(global-set-key "\\C-cg" 'goto-line)
-(global-set-key "\\M-\#" 'query-replace-regexp)
+(global-set-key (kbd "C-c g") 'search-forward)
+(global-set-key (kbd "M-\#") 'query-replace-regexp)
\endexample
\section{Writing Commands}
\beginexample%
(defun this-line-to-top-of-window (line)
- "Reposition line point is on to top of window.
+ "Reposition current line to top of window.
With ARG, put point on line ARG."
(interactive "P")
(recenter (if (null line)