1 ;;; -*- Mode: Emacs-Lisp -*-
4 ;;; ILISP input functions
6 ;;; This file is part of ILISP.
7 ;;; Please refer to the file COPYING for copyrights and licensing
9 ;;; Please refer to the file ACKNOWLEGDEMENTS for an (incomplete) list
10 ;;; of present and past contributors.
12 ;;; $Id: ilisp-inp.el,v 1.3 2001-07-02 09:40:47 youngs Exp $
15 (defun lisp-at-start ()
16 "Return `point' when at start of an input expression in an inferior Lisp."
18 (let ((point (point)))
25 (defun lisp-input-start ()
26 "Go to the start of the input region."
27 (let* ((pmark (process-mark (get-buffer-process (current-buffer)))))
28 (if (>= (point) pmark)
32 (if (re-search-backward comint-prompt-regexp (point-min) 'stay)
36 ;;; end of file -- ilisp-inp.el --