-;;; sun-cursors.el --- cursor definitions for Sun windows
-
-;; Author: Jeff Peck <peck@sun.com>
-;; Last-Modified: 16 Mar 1992
+;;; sun-curs.el --- cursor definitions for Sun windows
;; Copyright (C) 1987 Free Software Foundation, Inc.
+;; Author: Jeff Peck <peck@sun.com>
+;; Maintainer: none
+;; Keywords: hardware
+
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to
-;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;; along with GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
;;; Code:
;;;
;;; 9-dec-86 Jeff Peck, Sun Microsystems Inc. <peck@sun.com>
-(defvar sc::cursors nil "List of known cursors")
+(eval-when-compile (require 'cl))
+(require 'sun-fns)
+
+(eval-and-compile
+ (defvar sc::cursors nil "List of known cursors"))
(defmacro defcursor (name x y string)
(if (not (memq name sc::cursors))
(defun sc::pic-ins-at-mouse (char)
"Picture insert char at mouse location"
(mouse-move-point *mouse-window* (min 15 *mouse-x*) (min 15 *mouse-y*))
- (move-to-column-force (1+ (min 15 (current-column))))
+ (move-to-column (1+ (min 15 (current-column))) t)
(delete-char -1)
(insert char)
(sc::goto-hotspot))
("Set Cursor" sc:set-cursor
(sc::menu-choose-cursor *menu-window* *menu-x* *menu-y*))
("Reset Cursor" sc:set-cursor nil)
- ("Help". sc::edit-icon-help-menu)
+ ("Help" sc::edit-icon-help-menu)
("Quit" sc::quit-edit)
)
(setq char (1+ (lsh char 1))))
(if (not (eolp))(forward-char)))
-(provide 'sm-cursors)
+(provide 'sun-curs)
-;;; sun-cursors.el ends here
+;;; sun-curs.el ends here