(readline) completion vs backtrace-on-error



i don't want a backtrace per void-value error in this situation, so
maybe this change helps:


* librep-0.17/lisp/rep/util/repl.jl

  (define (completion-generator w)
+    (let ((backtrace-on-error #f))
    (apropos (concat #\^ (quote-regexp w))
	     (lambda (x)
	       (condition-case nil
		   (progn
		     (repl-eval x)
		     t)
		 (void-value nil))))))







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]