Mercurial > emacs
view lisp/obsolete/auto-show.el @ 66110:479c8c41d179
(MAC_WINDOW_NORMAL_GC): Remove macro.
(FRAME_NORMAL_GC): New macro.
(mac_draw_line, mac_clear_area, mac_clear_window)
(mac_fill_rectangle, mac_draw_string, mac_draw_string_16)
(mac_draw_image_string, mac_draw_image_string_16): Rename from
XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString,
XDrawString16, XDrawImageString, and XDrawImageString16, respectively.
All uses changed.
(mac_draw_line, mac_erase_rectangle, mac_clear_area)
(mac_clear_window, mac_draw_bitmap, mac_draw_rectangle)
(mac_invert_rectangle, mac_draw_string_common, mac_draw_string)
(mac_draw_string_16, mac_draw_image_string)
(mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask)
(mac_scroll_area): Drawing functions now take frame as destination.
All uses changed.
(mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT.
(x_draw_fringe_bitmap): Set clipping area in face->gc.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sun, 16 Oct 2005 02:22:59 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 1e3a407766b9 |
line wrap: on
line source
;;; auto-show.el --- perform automatic horizontal scrolling as point moves ;;; This file is in the public domain. ;; This file is part of GNU Emacs. ;; 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) ;;; arch-tag: 49587cbf-95cc-4061-b564-274aaec37469 ;;; auto-show.el ends here