File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ These commands will first respect the current workspace. If the current
501501workspace has no valid Eask-file; it will load global workspace instead."
502502 (member (eask-command) '(" init/cask" " init/eldev" " init/keg"
503503 " init/source"
504- " bump" " cat" " keywords"
504+ " bump" " cat" " keywords" " repl "
505505 " generate/ignore" " generate/license"
506506 " test/melpazoid" )))
507507(defun eask-checker-p ()
@@ -2266,6 +2266,23 @@ Argument VERSION is a string represent the version number of this package."
22662266 (eask-info " (Total of %s package%s reinstalled, %s skipped)"
22672267 installed s skipped)))
22682268
2269+ ; ; ~/lisp/core/repl.el
2270+ (defvar eask--repl-old-pos nil
2271+ " Record the last position to output on the screen for the `ielm' buffer." )
2272+ (defun eask--repl-output ()
2273+ " Print the REPL result to screen."
2274+ (unless eask--repl-old-pos (setq eask--repl-old-pos (point-min )))
2275+ (with-current-buffer " *ielm*"
2276+ (goto-char eask--repl-old-pos)
2277+ (while (not (eobp ))
2278+ (let ((line (thing-at-point 'line t )))
2279+ (unless (string-prefix-p " ELISP> " line)
2280+ (eask-print line)))
2281+ (forward-line 1 )
2282+ (end-of-line ))
2283+ ; ; Record last output position
2284+ (setq eask--repl-old-pos (point ))))
2285+
22692286; ; ~/lisp/core/search.el
22702287(defun eask--search-packages (query )
22712288 " Filter available packages with QUERY."
You can’t perform that action at this time.
0 commit comments