Mercurial > emacs
view lisp/obsolete/auto-show.el @ 59384:a1edc5959dcf
* macfns.c: Include sys/param.h.
[TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration
and function.
[TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size
of filename string. Set event callback function when creating
dialog boxes. Add code conversions for filenames. Don't dispose
apple event descriptor record if failed to create it.
* macterm.c: Include sys/param.h.
[USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for
kEventWindowUpdate.
(install_window_handler) [USE_CARBON_EVENTS]: Register it.
(do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead
of FSSpec from apple event descriptor record.
(do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for
size of filename string.
[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise.
[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a
file dialog is in action.
[TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. Reject
only when there are no filename items. Set background color
before (un)highlighting the window below the dragged items.
(XTread_socket) [!USE_CARBON_EVENTS]: Don't call do_window_update.
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Thu, 06 Jan 2005 02:53:39 +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