view lisp/auto-show.el @ 31299:34c25566aab3

Merge some changes from GNU libc. Add prototypes. (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): Use memcmp and memcpy instead of bcopy and bcmp. (init_syntax_once): Use ISALNUM. (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. (REG_UNSET_VALUE): Remove. Use NULL instead. (REG_UNSET, re_match_2_internal): Use NULL. (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros. (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. (regex_compile): In handle_interval, return an error rather than try to unfetch the interval if we can't find the closing brace. Obey the RE_NO_GNU_OPS syntax bit. (TOLOWER): New macro. (regcomp): Use it. (regexec): Allocate regs.start and regs.end as one block.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 30 Aug 2000 18:31:17 +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