From: Stefan Kangas Date: Thu, 12 Nov 2020 01:55:02 +0000 (+0100) Subject: Remove redundant installation instructions X-Git-Tag: emacs-28.0.90~5179 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e942670424d02fd7f1886bb459b159ca9490964;p=emacs.git Remove redundant installation instructions * lisp/net/newsticker.el: * lisp/net/sieve-mode.el: * lisp/play/bubbles.el: * lisp/play/handwrite.el: * lisp/progmodes/python.el: * lisp/progmodes/ruby-mode.el: * lisp/whitespace.el: Remove redundant installation instructions. These packages are distributed with Emacs and/or GNU ELPA. * lisp/calendar/timeclock.el: * lisp/ehelp.el: * lisp/emacs-lisp/checkdoc.el: * lisp/filesets.el: * lisp/mail/reporter.el: * lisp/net/rfc2104.el: * lisp/net/webjump.el: * lisp/pixel-scroll.el: Remove redundant recommendation to call require before using autoloaded functions. * lisp/tar-mode.el: Remove reference to package uncompress, removed in Emacs 23. --- diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el index a26da265fe8..48028dd07bf 100644 --- a/lisp/calendar/timeclock.el +++ b/lisp/calendar/timeclock.el @@ -37,8 +37,6 @@ ;; You'll probably want to bind the timeclock commands to some handy ;; keystrokes. At the moment, C-x t is unused: ;; -;; (require 'timeclock) -;; ;; (define-key ctl-x-map "ti" 'timeclock-in) ;; (define-key ctl-x-map "to" 'timeclock-out) ;; (define-key ctl-x-map "tc" 'timeclock-change) diff --git a/lisp/ehelp.el b/lisp/ehelp.el index 81373202c51..7da9aed075b 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el @@ -31,7 +31,6 @@ ;; buffer. ;; To make this the default, you must do -;; (require 'ehelp) ;; (define-key global-map "\C-h" 'ehelp-command) ;; (define-key global-map [help] 'ehelp-command) ;; (define-key global-map [f1] 'ehelp-command) diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index a485378a926..61384c0e6fa 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -37,7 +37,6 @@ ;; documentation whenever you evaluate Lisp code with C-M-x ;; or [menu-bar emacs-lisp eval-buffer]. Additional key-bindings ;; are also provided under C-c ? KEY -;; (require 'checkdoc) ;; (add-hook 'emacs-lisp-mode-hook 'checkdoc-minor-mode) ;; ;; Using `checkdoc': diff --git a/lisp/filesets.el b/lisp/filesets.el index 4f23faa2203..2cad2023b85 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el @@ -35,7 +35,7 @@ ;; inclusion group (i.e. a base file including other files). ;; Usage: -;; 1. Put (require 'filesets) and (filesets-init) in your init file. +;; 1. Put (filesets-init) in your init file. ;; 2. Type ;; M-x filesets-edit or choose "Edit Filesets" from the menu. ;; 3. Save your customizations. diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el index edfceb373f7..0c8b8d47a08 100644 --- a/lisp/mail/reporter.el +++ b/lisp/mail/reporter.el @@ -51,7 +51,6 @@ ;;(defun mypkg-submit-bug-report () ;; "Submit via mail a bug report on mypkg" ;; (interactive) -;; (require 'reporter) ;; (reporter-submit-bug-report ;; mypkg-maintainer-address ;; (concat "mypkg.el " mypkg-version) diff --git a/lisp/net/newsticker.el b/lisp/net/newsticker.el index 535122a31fb..c949915845b 100644 --- a/lisp/net/newsticker.el +++ b/lisp/net/newsticker.el @@ -78,14 +78,6 @@ ;; Installation ;; ------------ -;; If you are using Newsticker as part of GNU Emacs there is no need to -;; perform any installation steps in order to use Newsticker. Otherwise -;; place Newsticker in a directory where Emacs can find it. Add the -;; following line to your init file: -;; (add-to-list 'load-path "/path/to/newsticker/") -;; (autoload 'newsticker-start "newsticker" "Emacs Newsticker" t) -;; (autoload 'newsticker-show-news "newsticker" "Emacs Newsticker" t) - ;; If you are using `imenu', which allows for navigating with the help of a ;; menu, you should add the following to your Emacs startup file ;; (`~/.emacs'). diff --git a/lisp/net/rfc2104.el b/lisp/net/rfc2104.el index 50d54761b12..b008c9ac927 100644 --- a/lisp/net/rfc2104.el +++ b/lisp/net/rfc2104.el @@ -26,11 +26,9 @@ ;; ;; Example: ;; -;; (require 'md5) ;; (rfc2104-hash 'md5 64 16 "Jefe" "what do ya want for nothing?") ;; "750c783e6ab0b503eaa86e310a5db738" ;; -;; (require 'sha1) ;; (rfc2104-hash 'sha1 64 20 "Jefe" "what do ya want for nothing?") ;; "effcdf6ae5eb2fa2d27416d5f184df9c259a7c79" ;; diff --git a/lisp/net/sieve-mode.el b/lisp/net/sieve-mode.el index 7475a7b59d5..c5f44917919 100644 --- a/lisp/net/sieve-mode.el +++ b/lisp/net/sieve-mode.el @@ -26,11 +26,6 @@ ;; sieve-style #-comments and a lightly hacked syntax table. It was ;; strongly influenced by awk-mode.el. ;; -;; Put something similar to the following in your .emacs to use this file: -;; -;; (load "~/lisp/sieve") -;; (setq auto-mode-alist (cons '("\\.siv\\'" . sieve-mode) auto-mode-alist)) -;; ;; References: ;; ;; RFC 3028, diff --git a/lisp/net/webjump.el b/lisp/net/webjump.el index 8bb156199c5..9fbc434760c 100644 --- a/lisp/net/webjump.el +++ b/lisp/net/webjump.el @@ -40,7 +40,6 @@ ;; You may wish to add something like the following to your init file: ;; -;; (require 'webjump) ;; (global-set-key "\C-cj" 'webjump) ;; (setq webjump-sites ;; (append '( diff --git a/lisp/pixel-scroll.el b/lisp/pixel-scroll.el index bd05d91e2da..9e86e4695bd 100644 --- a/lisp/pixel-scroll.el +++ b/lisp/pixel-scroll.el @@ -26,9 +26,8 @@ ;; ;; M-x pixel-scroll-mode RET ;; -;; To make the mode permanent, put these in your init file: +;; To make the mode permanent, put this in your Init file: ;; -;; (require 'pixel-scroll) ;; (pixel-scroll-mode 1) ;;; Commentary: diff --git a/lisp/play/bubbles.el b/lisp/play/bubbles.el index d512a718b48..ca23a78202e 100644 --- a/lisp/play/bubbles.el +++ b/lisp/play/bubbles.el @@ -30,13 +30,6 @@ ;; Bubbles is an implementation of the "Same Game", similar to "Same ;; GNOME" and many others, see . -;; Installation -;; ------------ - -;; Add the following lines to your init file: -;; (add-to-list 'load-path "/path/to/bubbles/") -;; (autoload 'bubbles "bubbles" "Play Bubbles" t) - ;; ====================================================================== ;;; History: diff --git a/lisp/play/handwrite.el b/lisp/play/handwrite.el index 7b4a59b6fcd..1cf690a86db 100644 --- a/lisp/play/handwrite.el +++ b/lisp/play/handwrite.el @@ -41,16 +41,8 @@ ;; If you are not satisfied with the type page there are a number of ;; variables you may want to set. ;; -;; -;; Installation -;; -;; type at your prompt "emacs -l handwrite.el" or put this file on your -;; Emacs Lisp load path, add the following into your init file: -;; -;; (require 'handwrite) -;; -;; "M-x handwrite" or "Write by hand" in the edit menu should work now. -;; +;; To use this, say "M-x handwrite" or type at your prompt +;; "emacs -l handwrite.el". ;; ;; I tried to make it `iso_8859_1'-friendly, but there are some exotic ;; characters missing. diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a1793185899..091456aa89a 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -29,7 +29,7 @@ ;; Major mode for editing Python files with some fontification and ;; indentation bits extracted from original Dave Love's python.el -;; found in GNU/Emacs. +;; found in GNU Emacs. ;; Implements Syntax highlighting, Indentation, Movement, Shell ;; interaction, Shell completion, Shell virtualenv support, Shell @@ -247,13 +247,6 @@ ;; I'd recommend the first one since you'll get the same behavior for ;; all modes out-of-the-box. -;;; Installation: - -;; Add this to your .emacs: - -;; (add-to-list 'load-path "/folder/containing/file") -;; (require 'python) - ;;; TODO: ;;; Code: diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index afeabc030d4..fbc6e424eb1 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -28,13 +28,6 @@ ;; Provides font-locking, indentation support, and navigation for Ruby code. ;; -;; If you're installing manually, you should add this to your .emacs -;; file after putting it on your load path: -;; -;; (autoload 'ruby-mode "ruby-mode" "Major mode for ruby files" t) -;; (add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode)) -;; (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) -;; ;; Still needs more docstrings; search below for TODO. ;;; Code: diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index 5cf09f9055e..d460c8a4f73 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el @@ -37,13 +37,6 @@ ;; This code now understands the extra fields that GNU tar adds to tar files. -;; This interacts correctly with "uncompress.el" in the Emacs library, -;; which you get with -;; -;; (autoload 'uncompress-while-visiting "uncompress") -;; (setq auto-mode-alist (cons '("\\.Z$" . uncompress-while-visiting) -;; auto-mode-alist)) -;; ;; Do not attempt to use tar-mode.el with crypt.el, you will lose. ;; *************** TO DO *************** diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 94ed6dc47fe..02ee7bcf7fd 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -86,19 +86,6 @@ ;; * if global whitespace is turned off, whitespace continues on only ;; in the buffers in which local whitespace is on. ;; -;; To use whitespace, insert in your ~/.emacs: -;; -;; (require 'whitespace) -;; -;; Or autoload at least one of the commands`whitespace-mode', -;; `whitespace-toggle-options', `global-whitespace-mode' or -;; `global-whitespace-toggle-options'. For example: -;; -;; (autoload 'whitespace-mode "whitespace" -;; "Toggle whitespace visualization." t) -;; (autoload 'whitespace-toggle-options "whitespace" -;; "Toggle local `whitespace-mode' options." t) -;; ;; whitespace was inspired by: ;; ;; whitespace.el Rajesh Vaidheeswarran