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.
This commit is contained in:
Stefan Kangas 2020-01-18 19:53:01 +01:00
parent 4217bc229b
commit f3d30b5303
3 changed files with 8 additions and 26 deletions

View file

@ -1440,7 +1440,6 @@ of files from Macintosh, Microsoft, and Unix platforms.
* Compiler error messages:: * Compiler error messages::
* Indenting switch statements:: * Indenting switch statements::
* Customizing C and C++ indentation:: * Customizing C and C++ indentation::
* Horizontal scrolling::
* Overwrite mode:: * Overwrite mode::
* Turning off beeping:: * Turning off beeping::
* Turning the volume down:: * 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 effect in @emph{all} languages supported by @code{cc-mode}, use
@code{c-mode-common-hook}. @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 @node Overwrite mode
@section How do I make Emacs ``typeover'' or ``overwrite'' instead of inserting? @section How do I make Emacs ``typeover'' or ``overwrite'' instead of inserting?
@cindex @key{Insert} @cindex @key{Insert}
@ -2305,9 +2287,9 @@ to investigate @file{cpp.el}, which is distributed with Emacs.
@cindex Commands, repeating many times @cindex Commands, repeating many times
@cindex @code{.}, equivalent to @code{vi} command @cindex @code{.}, equivalent to @code{vi} command
As of Emacs 20.3, there is indeed a @code{repeat} command (@kbd{C-x z}) Use the @code{repeat} command (@kbd{C-x z}) to repeat the last
that repeats the last command. If you preface it with a prefix command. If you preface it with a prefix argument, the prefix arg is
argument, the prefix arg is applied to the command. applied to the command.
You can also type @kbd{C-x @key{ESC} @key{ESC}} You can also type @kbd{C-x @key{ESC} @key{ESC}}
(@code{repeat-complex-command}) to reinvoke commands that used the (@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 Microsoft files, editing
@cindex Windows files, editing @cindex Windows files, editing
As of Emacs 20, detection and handling of MS-DOS (and Windows) files is Detection and handling of MS-DOS (and Windows) files is performed
performed transparently. You can open MS-DOS files on a Unix system, transparently. You can open MS-DOS files on a Unix system, edit it,
edit it, and save it without having to worry about the file format. 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 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, is a DOS file. On Unix and GNU/Linux systems, and also on a Macintosh,

View file

@ -37,7 +37,7 @@
;; buffers which control the execution and describe the state of your program. ;; 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 ;; 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 ;; 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 ;; the toolbar (see the GDB Graphical Interface section in the Emacs info
;; manual). ;; manual).

View file

@ -138,7 +138,7 @@
;; Customization, Hooks and Imenu ;; 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 ;; a customization group called `WoMan' in the `Help' group under the
;; top-level `Emacs' group. In order to be able to customize WoMan ;; top-level `Emacs' group. In order to be able to customize WoMan
;; without first loading it, add the following sexp to your .emacs: ;; without first loading it, add the following sexp to your .emacs: