Mercurial > emacs
annotate lisp/obsolete/hscroll.el @ 94026:85846e73fafe
Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 12 Apr 2008 03:14:43 +0000 |
parents | ee22366f2a68 |
children | 43d30a1ea764 |
rev | line source |
---|---|
34421 | 1 ;;; hscroll.el --- automatically scroll truncated lines horizontally |
64751
5b1a238fcbb4
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64085
diff
changeset
|
2 |
74509 | 3 ;; Copyright (C) 1992, 1993, 1995, 1996, 2001, 2002, 2003, 2004, |
79715 | 4 ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
34421 | 5 |
6 ;; Author: Wayne Mesard <wmesard@esd.sgi.com> | |
7 ;; Keywords: display | |
8 | |
9 ;; This file is part of GNU Emacs. | |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
78228
1e016d63f292
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75347
diff
changeset
|
13 ;; the Free Software Foundation; either version 3, or (at your option) |
34421 | 14 ;; any later version. |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
64085 | 23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 ;; Boston, MA 02110-1301, USA. | |
34421 | 25 |
26 ;;; Commentary: | |
94000
ee22366f2a68
Add a comment giving version of obsolescence.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
27 |
ee22366f2a68
Add a comment giving version of obsolescence.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
28 ;; This file has been obsolete since Emacs 21.1. |
ee22366f2a68
Add a comment giving version of obsolescence.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
29 |
34421 | 30 ;; This file contains dummy variables and functions only because Emacs |
31 ;; does hscrolling automatically, now. | |
32 | |
33 ;;; Code: | |
34 | |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
34421
diff
changeset
|
35 ;;; |
34421 | 36 ;;; PUBLIC VARIABLES |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
34421
diff
changeset
|
37 ;;; |
34421 | 38 |
39 (defvar hscroll-version "0.0") | |
40 | |
41 (defgroup hscroll nil | |
42 "This customization group is kept for compatibility only. | |
43 Emacs now does hscrolling automatically. Please remove references | |
44 to hscroll from your init file and code." | |
45 :group 'editing) | |
46 | |
47 | |
48 (defcustom hscroll-global-mode nil | |
49 "*Obsolete." | |
50 :group 'hscroll | |
51 :type 'boolean | |
52 :require 'hscroll | |
53 :version "20.3") | |
54 | |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
34421
diff
changeset
|
55 (defcustom hscroll-margin 5 |
34421 | 56 "*Obsolete." |
57 :group 'hscroll | |
58 :type 'integer) | |
59 | |
60 (defcustom hscroll-snap-threshold 30 | |
61 "*Obsolete." | |
62 :group 'hscroll | |
63 :type 'integer) | |
64 | |
65 (defcustom hscroll-step-percent 25 | |
66 "*Obsolete." | |
67 :group 'hscroll | |
68 :type 'integer) | |
69 | |
70 (defcustom hscroll-mode-name " Hscr" | |
71 "*Obsolete." | |
72 :group 'hscroll | |
73 :type 'string) | |
74 | |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
34421
diff
changeset
|
75 ;;; |
34421 | 76 ;;; PUBLIC COMMANDS |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
34421
diff
changeset
|
77 ;;; |
34421 | 78 |
79 ;;;###autoload | |
80 (defun turn-on-hscroll () | |
81 "This function is obsolete. | |
82 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. | |
83 Also see `automatic-hscrolling'.") | |
84 | |
85 ;;;###autoload | |
86 (defun hscroll-mode (&optional arg) | |
87 "This function is obsolete. | |
88 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. | |
89 Also see `automatic-hscrolling'." | |
90 (interactive "P")) | |
91 | |
92 ;;;###autoload | |
93 (defun hscroll-global-mode (&optional arg) | |
94 "This function is obsolete. | |
95 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. | |
96 Also see `automatic-hscrolling'." | |
97 (interactive "P")) | |
98 | |
99 (defun hscroll-window-maybe () | |
100 "This function is obsolete. | |
101 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. | |
102 Also see `automatic-hscrolling'." | |
103 (interactive)) | |
104 | |
105 (provide 'hscroll) | |
106 | |
93975
1e3a407766b9
Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
79715
diff
changeset
|
107 ;; arch-tag: 48377520-e5ca-401d-b360-3881b2d5a05a |
34421 | 108 ;;; hscroll.el ends here |