Changeset 6773 for branches


Ignore:
Timestamp:
Jun 20, 2007, 11:33:32 AM (17 years ago)
Author:
Gary Byers
Message:

no IN-LISP in describe-symbol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ide-1.0/ccl/hemlock/src/listener.lisp

    r6705 r6773  
    692692    (mark-symbol mark1 mark2)
    693693    (with-input-from-region (s (region mark1 mark2))
    694       (in-lisp
    695        (let ((thing (read s)))
    696          (if (symbolp thing)
    697              (with-pop-up-display (*standard-output*)
    698                (describe thing))
    699              (if (and (consp thing)
    700                       (or (eq (car thing) 'quote)
    701                           (eq (car thing) 'function))
    702                       (symbolp (cadr thing)))
    703                  (with-pop-up-display (*standard-output*)
    704                    (describe (cadr thing)))
    705                  (editor-error "~S is not a symbol, or 'symbol, or #'symbol."
    706                                thing))))))))
     694      (let ((thing (read s)))
     695        (if (symbolp thing)
     696          (with-pop-up-display (*standard-output*)
     697            (describe thing))
     698          (if (and (consp thing)
     699                   (or (eq (car thing) 'quote)
     700                       (eq (car thing) 'function))
     701                   (symbolp (cadr thing)))
     702            (with-pop-up-display (*standard-output*)
     703              (describe (cadr thing)))
     704            (editor-error "~S is not a symbol, or 'symbol, or #'symbol."
     705                          thing)))))))
    707706
    708707;;; MARK-SYMBOL moves mark1 and mark2 around the previous or current symbol.
Note: See TracChangeset for help on using the changeset viewer.