;;; Revision Information
-(defconst tpu-extras-revision "$Revision: 1.4 $"
+(defconst tpu-extras-revision "$Revision: 1.5 $"
"Revision number of the TPU-edt extras.")
;;; Function to set scroll margins
+;;;###autoload
(defun tpu-set-scroll-margins (top bottom)
"Set scroll margins."
(interactive
(message "Scroll margins set. Top = %s%%, Bottom = %s%%"
tpu-top-scroll-margin tpu-bottom-scroll-margin)))
-(fset 'set\ scroll\ margins 'tpu-set-scroll-margins)
-(fset 'SET\ SCROLL\ MARGINS 'tpu-set-scroll-margins)
-
;;; Functions to set cursor bound or free
+;;;###autoload
(defun tpu-set-cursor-free nil
"Allow the cursor to move freely about the screen."
(interactive)
GOLD-map)
(message "The cursor will now move freely about the screen."))
+;;;###autoload
(defun tpu-set-cursor-bound nil
"Constrain the cursor to the flow of the text."
(interactive)
GOLD-map)
(message "The cursor is now bound to the flow of your text."))
-(fset 'set\ cursor\ bound 'tpu-set-cursor-bound)
-(fset 'SET\ CURSOR\ BOUND 'tpu-set-cursor-bound)
-(fset 'set\ cursor\ free 'tpu-set-cursor-free)
-(fset 'SET\ CURSOR\ FREE 'tpu-set-cursor-free)
-
-
-;;; Keypad Mapping
-
-(define-key GOLD-map "F" 'tpu-set-cursor-free) ; F
-(define-key GOLD-map "f" 'tpu-set-cursor-free) ; f
-
;;; tpu-extras.el ends here