Mercurial > emacs
annotate lisp/auto-show.el @ 29416:6d8ceb166666
(make-autoload): Simplify docstring.
Make use of symbol-property doc-string-elt.
Use memq rather than a sequence of eq.
(doc-string-elt): Fix the wrong or missing previously unused values.
(autoload-print-form): New function extracted from
generate-file-autoloads to allow recursion when handling progn
so that defvar's and defun's docstrings are properly printed.
(generate-file-autoloads): Use it.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 05 Jun 2000 06:30:22 +0000 |
parents | 24c42492035e |
children |
rev | line source |
---|---|
13337 | 1 ;;; auto-show.el --- perform automatic horizontal scrolling as point moves |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
2 ;;; This file is in the public domain. |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
3 |
24812 | 4 ;;; Keywords: scroll display convenience |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
5 ;;; Author: Pete Ware <ware@cis.ohio-state.edu> |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
6 ;;; Maintainer: FSF |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
7 |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
8 ;;; Commentary: |
10973 | 9 |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
10 ;; This file contains dummy variables and functions only because Emacs |
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
11 ;; does hscrolling automatically, now. |
10973 | 12 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
13 ;;; Code: |
10973 | 14 |
20451 | 15 (defgroup auto-show nil |
27828 | 16 "This customization group is kept for compatibility only. |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
17 Emacs now does hscrolling automatically. Please remove references |
27828 | 18 to auto-show from your init file and code." |
20451 | 19 :group 'editing) |
20 | |
24812 | 21 ;;;###autoload |
22 (defcustom auto-show-mode nil | |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
23 "Obsolete." |
24812 | 24 :version "20.4" |
20451 | 25 :type 'boolean |
26 :group 'auto-show) | |
10973 | 27 |
20451 | 28 (defcustom auto-show-shift-amount 8 |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
29 "*Obsolete." |
20451 | 30 :type 'integer |
31 :group 'auto-show) | |
10973 | 32 |
20451 | 33 (defcustom auto-show-show-left-margin-threshold 50 |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
34 "*Obsolete." |
20451 | 35 :type 'integer |
36 :group 'auto-show) | |
10973 | 37 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
38 ;;;###autoload |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
39 (defun auto-show-mode (arg) |
25569 | 40 "This command is obsolete." |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
41 (interactive "P")) |
10973 | 42 |
43 (defun auto-show-make-point-visible (&optional ignore-arg) | |
25569 | 44 "This command is obsolete." |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
45 (interactive)) |
10973 | 46 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
47 (provide 'auto-show) |
10973 | 48 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
49 ;; auto-show.el ends here |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
50 |