aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-11 10:21:06 +0000
committerGerd Moellmann2000-12-11 10:21:06 +0000
commit3e0d35cec0013f5038f486a54d40a18a950be7e8 (patch)
tree6a98bc5bfe9b63118492d2929bab73d9ed8be5ef
parent4a64ae53ab84106dc5c6c7f70d48321466695a86 (diff)
downloademacs-3e0d35cec0013f5038f486a54d40a18a950be7e8.tar.gz
emacs-3e0d35cec0013f5038f486a54d40a18a950be7e8.zip
Moved here from lisp/.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/obsolete/hscroll.el103
2 files changed, 107 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 55366de116f..dfb7609a18b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12000-12-11 Gerd Moellmann <gerd@gnu.org>
2
3 * hscroll.el: Moved to `obsolete' subdir.
4
12000-12-11 Miles Bader <miles@gnu.org> 52000-12-11 Miles Bader <miles@gnu.org>
2 6
3 * window.el (window-text-height): Function removed (now in C). 7 * window.el (window-text-height): Function removed (now in C).
diff --git a/lisp/obsolete/hscroll.el b/lisp/obsolete/hscroll.el
new file mode 100644
index 00000000000..996cd07c5e4
--- /dev/null
+++ b/lisp/obsolete/hscroll.el
@@ -0,0 +1,103 @@
1;;; hscroll.el --- automatically scroll truncated lines horizontally
2;;; Copyright (C) 1992, 1993, 1995, 1996 Free Software Foundation, Inc.
3
4;; Author: Wayne Mesard <wmesard@esd.sgi.com>
5;; Keywords: display
6
7;; This file is part of GNU Emacs.
8
9;; GNU Emacs is free software; you can redistribute it and/or modify
10;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation; either version 2, or (at your option)
12;; any later version.
13
14;; GNU Emacs is distributed in the hope that it will be useful,
15;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;; GNU General Public License for more details.
18
19;; You should have received a copy of the GNU General Public License
20;; along with GNU Emacs; see the file COPYING. If not, write to the
21;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22;; Boston, MA 02111-1307, USA.
23
24;;; Commentary:
25;;
26;; This file contains dummy variables and functions only because Emacs
27;; does hscrolling automatically, now.
28
29;;; Code:
30
31;;;
32;;; PUBLIC VARIABLES
33;;;
34
35(defvar hscroll-version "0.0")
36
37(defgroup hscroll nil
38 "This customization group is kept for compatibility only.
39Emacs now does hscrolling automatically. Please remove references
40to hscroll from your init file and code."
41 :group 'editing)
42
43
44(defcustom hscroll-global-mode nil
45 "*Obsolete."
46 :group 'hscroll
47 :type 'boolean
48 :require 'hscroll
49 :version "20.3")
50
51(defcustom hscroll-margin 5
52 "*Obsolete."
53 :group 'hscroll
54 :type 'integer)
55
56(defcustom hscroll-snap-threshold 30
57 "*Obsolete."
58 :group 'hscroll
59 :type 'integer)
60
61(defcustom hscroll-step-percent 25
62 "*Obsolete."
63 :group 'hscroll
64 :type 'integer)
65
66(defcustom hscroll-mode-name " Hscr"
67 "*Obsolete."
68 :group 'hscroll
69 :type 'string)
70
71;;;
72;;; PUBLIC COMMANDS
73;;;
74
75;;;###autoload
76(defun turn-on-hscroll ()
77 "This function is obsolete.
78Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
79Also see `automatic-hscrolling'.")
80
81;;;###autoload
82(defun hscroll-mode (&optional arg)
83 "This function is obsolete.
84Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
85Also see `automatic-hscrolling'."
86 (interactive "P"))
87
88;;;###autoload
89(defun hscroll-global-mode (&optional arg)
90 "This function is obsolete.
91Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
92Also see `automatic-hscrolling'."
93 (interactive "P"))
94
95(defun hscroll-window-maybe ()
96 "This function is obsolete.
97Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
98Also see `automatic-hscrolling'."
99 (interactive))
100
101(provide 'hscroll)
102
103;;; hscroll.el ends here