From f3d30b5303783a307921b914d4df0b082106b39d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 18 Jan 2020 19:53:01 +0100 Subject: [PATCH] Remove some doc references to old Emacs versions * doc/misc/efaq.texi (Horizontal scrolling): Remove section only relevant to Emacs 21 or older. (Repeating commands, Editing MS-DOS files): * lisp/progmodes/gdb-mi.el: * lisp/woman.el: Doc fix - remove some references to Emacs 20 and older. --- doc/misc/efaq.texi | 30 ++++++------------------------ lisp/progmodes/gdb-mi.el | 2 +- lisp/woman.el | 2 +- 3 files changed, 8 insertions(+), 26 deletions(-) diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index dcb0a68944e..fc91a47520c 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi @@ -1440,7 +1440,6 @@ of files from Macintosh, Microsoft, and Unix platforms. * Compiler error messages:: * Indenting switch statements:: * Customizing C and C++ indentation:: -* Horizontal scrolling:: * Overwrite mode:: * Turning off beeping:: * Turning the volume down:: @@ -2123,23 +2122,6 @@ Java sources, etc. If you want the same customizations to be in effect in @emph{all} languages supported by @code{cc-mode}, use @code{c-mode-common-hook}. -@node Horizontal scrolling -@section How can I make Emacs automatically scroll horizontally? -@cindex @code{hscroll-mode} -@cindex Horizontal scrolling -@cindex Scrolling horizontally - -In Emacs 21 and later, this is on by default: if the variable -@code{truncate-lines} is non-@code{nil} in the current buffer, Emacs -automatically scrolls the display horizontally when point moves off the -left or right edge of the window. - -Note that this is overridden by the variable -@code{truncate-partial-width-windows} if that variable is non-@code{nil} -and the current buffer is not full-frame width. - -In Emacs 20, use @code{hscroll-mode}. - @node Overwrite mode @section How do I make Emacs ``typeover'' or ``overwrite'' instead of inserting? @cindex @key{Insert} @@ -2305,9 +2287,9 @@ to investigate @file{cpp.el}, which is distributed with Emacs. @cindex Commands, repeating many times @cindex @code{.}, equivalent to @code{vi} command -As of Emacs 20.3, there is indeed a @code{repeat} command (@kbd{C-x z}) -that repeats the last command. If you preface it with a prefix -argument, the prefix arg is applied to the command. +Use the @code{repeat} command (@kbd{C-x z}) to repeat the last +command. If you preface it with a prefix argument, the prefix arg is +applied to the command. You can also type @kbd{C-x @key{ESC} @key{ESC}} (@code{repeat-complex-command}) to reinvoke commands that used the @@ -2821,9 +2803,9 @@ Alternatively, use the following Lisp form in your @file{.emacs}: @cindex Microsoft files, editing @cindex Windows files, editing -As of Emacs 20, detection and handling of MS-DOS (and Windows) files is -performed transparently. You can open MS-DOS files on a Unix system, -edit it, and save it without having to worry about the file format. +Detection and handling of MS-DOS (and Windows) files is performed +transparently. You can open MS-DOS files on a Unix system, edit it, +and save it without having to worry about the file format. When editing an MS-DOS style file, the mode line will indicate that it is a DOS file. On Unix and GNU/Linux systems, and also on a Macintosh, diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index b08d487af30..e4233dacaf6 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -37,7 +37,7 @@ ;; buffers which control the execution and describe the state of your program. ;; It separates the input/output of your program from that of GDB and displays ;; expressions and their current values in their own buffers. It also uses -;; features of Emacs 21 such as the fringe/display margin for breakpoints, and +;; features such as the fringe/display margin for breakpoints, and ;; the toolbar (see the GDB Graphical Interface section in the Emacs info ;; manual). diff --git a/lisp/woman.el b/lisp/woman.el index 809f50e8c3a..8465ab7c32e 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -138,7 +138,7 @@ ;; Customization, Hooks and Imenu ;; ============================== -;; WoMan supports the GNU Emacs 20+ customization facility, and puts +;; WoMan supports the GNU Emacs customization facility, and puts ;; a customization group called `WoMan' in the `Help' group under the ;; top-level `Emacs' group. In order to be able to customize WoMan ;; without first loading it, add the following sexp to your .emacs: -- 2.39.2