Changeset 15166
- Timestamp:
- Jan 21, 2012, 8:53:53 AM (13 years ago)
- Location:
- trunk/source/cocoa-ide
- Files:
-
- 2 edited
-
app-delegate.lisp (modified) (2 diffs)
-
cocoa-listener.lisp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cocoa-ide/app-delegate.lisp
r14904 r15166 211 211 (when filename 212 212 (#/ensureListener: self nil) 213 (let* ((doc (#/topListener hemlock-listener-document)) 214 (process (hemlock-document-process doc))) 213 (let ((process (top-listener-process))) 215 214 (process-interrupt process #'(lambda () 216 215 (load filename) … … 224 223 (when filename 225 224 (#/ensureListener: self nil) 226 (let* ((doc (#/topListener hemlock-listener-document)) 227 (process (hemlock-document-process doc))) 225 (let ((process (top-listener-process))) 228 226 (process-interrupt process #'(lambda () 229 227 (compile-file filename) -
trunk/source/cocoa-ide/cocoa-listener.lisp
r15116 r15166 398 398 (unless (%null-ptr-p doc) doc))) 399 399 400 (defun top-listener-process () 401 (let* ((doc (#/topListener hemlock-listener-document))) 402 (unless (%null-ptr-p doc) 403 (hemlock-document-process doc)))) 404 400 405 401 406 (defun symbol-value-in-top-listener-process (symbol) 402 (let* ((process ( hemlock-document-process (#/topListener hemlock-listener-document))))407 (let* ((process (top-listener-process))) 403 408 (if process 404 409 (ignore-errors (symbol-value-in-process symbol process)) … … 406 411 407 412 (defun hemlock-ext:top-listener-output-stream () 408 (let* ((process ( hemlock-document-process (#/topListener hemlock-listener-document))))413 (let* ((process (top-listener-process))) 409 414 (when process 410 415 (setq process (require-type process 'cocoa-listener-process)) … … 412 417 413 418 (defun hemlock-ext:top-listener-input-stream () 414 (let* ((process ( hemlock-document-process (#/topListener hemlock-listener-document))))419 (let* ((process (top-listener-process))) 415 420 (when process 416 421 (setq process (require-type process 'cocoa-listener-process)) … … 549 554 (< range-end prot-end))))) 550 555 t))) 551 552 556 557 553 558 ;;; Action methods 554 559 (objc:defmethod (#/interrupt: :void) ((self hemlock-listener-document) sender) … … 700 705 +null-ptr+ 701 706 #$YES) 702 ( hemlock-document-process (#/topListener hemlock-listener-document)))707 (top-listener-process)) 703 708 704 709 (defmethod ui-object-eval-selection ((app ns:ns-application)
Note:
See TracChangeset
for help on using the changeset viewer.
