Mercurial > emacs
view lisp/auto-show.el @ 32003:ff2dfe1f1df9
(image-file-name-extensions): New variable.
(image-file-name-regexps): Renamed from `image-file-regexps'.
New default value is nil. Call `auto-image-file-mode'.
(image-file-name-regexp): New function.
(auto-image-file-mode): New minor mode.
(insert-image-file): Don't make conditional on the image-file
handler being enabled.
(image-file-handler): Make the call here conditional instead.
(set-image-file-handler-enabled, enable-image-file-handler)
(disable-image-file-handler): Functions removed.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 29 Sep 2000 13:51:08 +0000 |
parents | 24c42492035e |
children |
line wrap: on
line source
;;; auto-show.el --- perform automatic horizontal scrolling as point moves ;;; This file is in the public domain. ;;; Keywords: scroll display convenience ;;; Author: Pete Ware <ware@cis.ohio-state.edu> ;;; Maintainer: FSF ;;; Commentary: ;; This file contains dummy variables and functions only because Emacs ;; does hscrolling automatically, now. ;;; Code: (defgroup auto-show nil "This customization group is kept for compatibility only. Emacs now does hscrolling automatically. Please remove references to auto-show from your init file and code." :group 'editing) ;;;###autoload (defcustom auto-show-mode nil "Obsolete." :version "20.4" :type 'boolean :group 'auto-show) (defcustom auto-show-shift-amount 8 "*Obsolete." :type 'integer :group 'auto-show) (defcustom auto-show-show-left-margin-threshold 50 "*Obsolete." :type 'integer :group 'auto-show) ;;;###autoload (defun auto-show-mode (arg) "This command is obsolete." (interactive "P")) (defun auto-show-make-point-visible (&optional ignore-arg) "This command is obsolete." (interactive)) (provide 'auto-show) ;; auto-show.el ends here