Require mm-util.
[bpt/emacs.git] / lisp / hscroll.el
CommitLineData
6b9b8bcb 1;;; hscroll.el --- automatically scroll truncated lines horizontally
21fe911f
KH
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
f1a64115 24;;; Commentary:
21fe911f 25;;
cace3098
GM
26;; This file contains dummy variables and functions only because Emacs
27;; does hscrolling automatically, now.
21fe911f
KH
28
29;;; Code:
30
31;;;
32;;; PUBLIC VARIABLES
33;;;
34
cace3098 35(defvar hscroll-version "0.0")
21fe911f 36
ddb3136e 37(defgroup hscroll nil
2d202cd8 38 "This customization group is kept for compatibility only.
cace3098
GM
39Emacs now does hscrolling automatically. Please remove references
40to hscroll from your init file and code."
ddb3136e
RS
41 :group 'editing)
42
5d039c85
SE
43
44(defcustom hscroll-global-mode nil
cace3098 45 "*Obsolete."
5d039c85
SE
46 :group 'hscroll
47 :type 'boolean
f9e9ac1d
DN
48 :require 'hscroll
49 :version "20.3")
5d039c85 50
ddb3136e 51(defcustom hscroll-margin 5
cace3098 52 "*Obsolete."
ddb3136e
RS
53 :group 'hscroll
54 :type 'integer)
21fe911f 55
ddb3136e 56(defcustom hscroll-snap-threshold 30
cace3098 57 "*Obsolete."
ddb3136e
RS
58 :group 'hscroll
59 :type 'integer)
21fe911f 60
ddb3136e 61(defcustom hscroll-step-percent 25
cace3098 62 "*Obsolete."
ddb3136e
RS
63 :group 'hscroll
64 :type 'integer)
21fe911f 65
ddb3136e 66(defcustom hscroll-mode-name " Hscr"
cace3098 67 "*Obsolete."
ddb3136e
RS
68 :group 'hscroll
69 :type 'string)
21fe911f 70
21fe911f
KH
71;;;
72;;; PUBLIC COMMANDS
73;;;
74
75;;;###autoload
76(defun turn-on-hscroll ()
cace3098 77 "This function is obsolete.")
21fe911f
KH
78
79;;;###autoload
80(defun hscroll-mode (&optional arg)
cace3098
GM
81 "This function is absolete."
82 (interactive "P"))
21fe911f
KH
83
84;;;###autoload
85(defun hscroll-global-mode (&optional arg)
cace3098
GM
86 "This function is absolete."
87 (interactive "P"))
f165ac66 88
21fe911f 89(defun hscroll-window-maybe ()
cace3098
GM
90 "This function is obsolete."
91 (interactive))
5d039c85 92
21fe911f
KH
93(provide 'hscroll)
94
95;;; hscroll.el ends here