From: Stefan Kangas Date: Fri, 11 Nov 2022 03:29:29 +0000 (+0100) Subject: Remove redundant library installation instructions X-Git-Tag: emacs-29.0.90~1616^2~201 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f5352377539bc2587b9bfd068de0f4b3bf8b248;p=emacs.git Remove redundant library installation instructions * lisp/apropos.el: * lisp/mail/feedmail.el: * lisp/mail/mail-hist.el: * lisp/org/org-ctags.el: * lisp/org/org-protocol.el: * lisp/progmodes/ebnf2ps.el: * lisp/progmodes/mixal-mode.el: * lisp/progmodes/perl-mode.el: * lisp/savehist.el: * lisp/textmodes/table.el: * lisp/vc/smerge-mode.el: Remove redundant installation instructions for packages bundled with Emacs. --- diff --git a/lisp/apropos.el b/lisp/apropos.el index 624c29cb410..62a37df8207 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -25,8 +25,7 @@ ;;; Commentary: ;; The ideas for this package were derived from the C code in -;; src/keymap.c and elsewhere. The functions in this file should -;; always be byte-compiled for speed. +;; src/keymap.c and elsewhere. ;; The idea for super-apropos is based on the original implementation ;; by Lynn Slater . diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index 2ae916e3ac1..eb6a071bf4a 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el @@ -131,17 +131,13 @@ ;; feedmail-send-it. Hers's the best way to use the stuff in this ;; file: ;; -;; Save this file as feedmail.el somewhere on your elisp loadpath; -;; byte-compile it. Put the following lines in your init file: +;; Put the following lines in your init file: ;; ;; (setq send-mail-function 'feedmail-send-it) -;; (autoload 'feedmail-send-it "feedmail") ;; ;; If you plan to use the queue stuff, also use this: ;; ;; (setq feedmail-enable-queue t) -;; (autoload 'feedmail-run-the-queue "feedmail") -;; (autoload 'feedmail-run-the-queue-no-prompts "feedmail") ;; (setq auto-mode-alist (cons '("\\.fqm$" . mail-mode) auto-mode-alist)) ;; ;; though VM users might find it more comfortable to use this instead of @@ -174,11 +170,6 @@ ;; like to add the suffix ".fqm" to the list of non-saved things via the variable ;; desktop-files-not-to-save. ;; -;; If you are planning to call feedmail-queue-reminder from your .emacs or -;; something similar, you might need this: -;; -;; (autoload 'feedmail-queue-reminder "feedmail") -;; ;; If you ever use rmail-resend and queue messages, you should do this: ;; ;; (setq feedmail-queue-alternative-mail-header-separator "") diff --git a/lisp/mail/mail-hist.el b/lisp/mail/mail-hist.el index a13f9de1740..9fb7b36e985 100644 --- a/lisp/mail/mail-hist.el +++ b/lisp/mail/mail-hist.el @@ -1,6 +1,6 @@ ;;; mail-hist.el --- headers and message body history for outgoing mail -*- lexical-binding: t; -*- -;; Copyright (C) 1994, 2001-2022 Free Software Foundation, Inc. +;; Copyright (C) 1994-2022 Free Software Foundation, Inc. ;; Author: Karl Fogel ;; Created: March, 1994 @@ -24,21 +24,15 @@ ;;; Commentary: -;; Thanks to Jim Blandy for mentioning ring.el. It saved a lot of -;; time. -;; -;; To use this package, put it in a directory in your load-path, and -;; put this in your init file: +;; To use this package, add this to your init file: ;; -;; (load "mail-hist" nil t) +;; (require 'mail-hist) ;; -;; Or you could do it with autoloads and hooks in your .emacs: +;; Or you could do it with hooks in your .emacs: ;; -;; (add-hook 'mail-mode-hook 'mail-hist-define-keys) -;; (add-hook 'mail-send-hook 'mail-hist-put-headers-into-history) -;; (add-hook 'vm-mail-mode-hook 'mail-hist-define-keys) ;or rmail, etc -;; (autoload 'mail-hist-define-keys "mail-hist") -;; (autoload 'mail-hist-put-headers-into-history "mail-hist") +;; (add-hook 'mail-mode-hook 'mail-hist-define-keys) +;; (add-hook 'mail-send-hook 'mail-hist-put-headers-into-history) +;; (add-hook 'vm-mail-mode-hook 'mail-hist-define-keys) ;or rmail, etc ;; ;; Once it's installed, use M-p and M-n from mail headers to recover ;; previous/next contents in the history for that header, or, in the @@ -51,6 +45,9 @@ ;; point, so that you can mix the histories of different messages ;; easily. This might be confusing at times, but there should be no ;; problems that undo can't handle. +;; +;; Thanks to Jim Blandy for mentioning ring.el. It saved a lot of +;; time. ;;; Code: (require 'ring) diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el index 67db49e9a67..b1ee32ab335 100644 --- a/lisp/org/org-ctags.el +++ b/lisp/org/org-ctags.el @@ -45,8 +45,6 @@ ;; Installation ;; ============ ;; -;; Install org mode -;; Ensure org-ctags.el is somewhere in your emacs load path. ;; Download and install Exuberant ctags -- "https://ctags.sourceforge.net/" ;; Edit your .emacs file (see next section) and load emacs. diff --git a/lisp/org/org-protocol.el b/lisp/org/org-protocol.el index 7a91a33b745..137a11f3d91 100644 --- a/lisp/org/org-protocol.el +++ b/lisp/org/org-protocol.el @@ -42,7 +42,6 @@ ;; ;; 1.) Add this to your init file (.emacs probably): ;; -;; (add-to-list 'load-path "/path/to/org-protocol/") ;; (require 'org-protocol) ;; ;; 3.) Ensure emacs-server is up and running. diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index 6e42da2d54f..1894826fe4e 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el @@ -166,8 +166,6 @@ ;; ;; Where setup-ebnf2ps.el should be a file containing: ;; -;; ;; set load-path if ebnf2ps isn't installed in your Emacs environment -;; (setq load-path (append (list "/dir/of/ebnf2ps") load-path)) ;; (require 'ebnf2ps) ;; ;; insert here your ebnf2ps settings ;; (setq ebnf-terminal-shape 'bevel) diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el index 9d1ceaa55a8..358b347f6ef 100644 --- a/lisp/progmodes/mixal-mode.el +++ b/lisp/progmodes/mixal-mode.el @@ -33,9 +33,6 @@ ;; GNU MDK from `https://savannah.gnu.org/projects/mdk/' and ;; `https://ftp.gnu.org/pub/gnu/mdk'. ;; -;; To use this mode, place the following in your init file: -;; `(load-file "/PATH-TO-FILE/mixal-mode.el")'. -;; ;; When you load a file with the extension .mixal the mode will be started ;; automatically. If you want to start the mode manually, use `M-x mixal-mode'. ;; Font locking will work, the behavior of tabs is the same as Emacs's diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index db9df672797..4dd0fd67a6b 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -27,8 +27,8 @@ ;;; Commentary: -;; To enter perl-mode automatically, add (autoload 'perl-mode "perl-mode") -;; to your init file and change the first line of your perl script to: +;; To enter `perl-mode' automatically, change the first line of your +;; perl script to: ;; #!/usr/bin/perl -- # -*-Perl-*- ;; With arguments to perl: ;; #!/usr/bin/perl -P- # -*-Perl-*- diff --git a/lisp/savehist.el b/lisp/savehist.el index 8924c8dde23..f1d3e50d941 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el @@ -1,6 +1,6 @@ ;;; savehist.el --- Save minibuffer history -*- lexical-binding:t -*- -;; Copyright (C) 1997, 2005-2022 Free Software Foundation, Inc. +;; Copyright (C) 1997-2022 Free Software Foundation, Inc. ;; Author: Hrvoje Nikšić ;; Maintainer: emacs-devel@gnu.org @@ -41,10 +41,6 @@ ;; You can also explicitly save history with `M-x savehist-save' and ;; load it by loading the `savehist-file' with `M-x load-file'. -;; If you are using a version of Emacs that does not ship with this -;; package, be sure to have `savehist.el' in a directory that is in -;; your load-path, and to byte-compile it. - ;;; Code: ;; User variables diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index f81cedc39bc..2f34a58b5bc 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el @@ -125,9 +125,7 @@ ;; are tired of guessing how it works come back to this document ;; again. ;; -;; To use the package regularly place this file in the site library -;; directory and add the next expression in your init file. Make -;; sure that directory is included in the `load-path'. +;; To use the package regularly, add this to your init file: ;; ;; (require 'table) ;; diff --git a/lisp/vc/smerge-mode.el b/lisp/vc/smerge-mode.el index 003b26eca41..e13894d6b53 100644 --- a/lisp/vc/smerge-mode.el +++ b/lisp/vc/smerge-mode.el @@ -23,11 +23,10 @@ ;;; Commentary: ;; Provides a lightweight alternative to emerge/ediff. -;; To use it, simply add to your .emacs the following lines: ;; -;; (autoload 'smerge-mode "smerge-mode" nil t) +;; To use it, simply type `M-x smerge-mode'. ;; -;; you can even have it turned on automatically with the following +;; You can even have it turned on automatically with the following ;; piece of code in your .emacs: ;; ;; (defun sm-try-smerge ()