-;; Cursor definitions for Sun windows
+;;; sun-curs.el --- cursor definitions for Sun windows
+
;; Copyright (C) 1987 Free Software Foundation, Inc.
+;; Author: Jeff Peck <peck@sun.com>
+;; Keywords: hardware
+
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 1, or (at your option)
+;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; along with GNU Emacs; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;;; Code:
+
;;;
;;; Added some more cursors and moved the hot spots
;;; Cursor defined by 16 pairs of 16-bit numbers
;;;
;;; 9-dec-86 Jeff Peck, Sun Microsystems Inc. <peck@sun.com>
+(require 'cl)
+
(defvar sc::cursors nil "List of known cursors")
(defmacro defcursor (name x y string)
(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))
(provide 'sm-cursors)
+;;; sun-curs.el ends here