diff --git a/README.org b/README.org index 672174b..8841450 100644 --- a/README.org +++ b/README.org @@ -706,8 +706,10 @@ Listing [[lst:configure-company]] configures =company=. org-mode-hook emacs-lisp-mode-hook lisp-interaction-mode-hook + lisp-mode-hook python-mode-hook - ielm-mode-hook)) + ielm-mode-hook + sly-mrepl-mode-hook)) (add-hook hook #'company-mode)))) #+end_src @@ -1809,16 +1811,17 @@ non-interactive =org-element= functions to an =Emacs-lisp= buffer. :PROPERTIES: :CUSTOM_ID: sec:common-lisp-programming :END: - Listing [[lst:configure-sly]] configures the [[info:sly#Top][Sly (info)]] Common Lisp IDE for Emacs for use with [[http://www.sbcl.org/][Steel Bank Common Lisp (sbcl)]]: 1. It configures =sly-default-lisp= and =sly-lisp-implementations= as in the - ~sly~ documentation string instead of in the [[info:sly#Multiple - Lisps][multiple lisps (info)]] manual. + ~sly~ documentation string instead of in the [[info:sly#Multiple Lisps][multiple lisps (info)]] manual. 2. It ensures the [[info:sly#Auto-SLY][automatic connection to the lisp server (info)]] when opening a Common Lisp file. 3. It configures searching documentation in the [[http://www.lispworks.com/documentation/HyperSpec/Front/][Common Lisp HyperSpec]] according to the [[info:sly#Basic customization][basic customization (info)]] manual. +Finally, listing [[lst:configure-sly]] uses a technique to [[info:sly#Loading Slynk faster][load Slynk faster (info)]] +by means of a custom core file in src_emacs-lisp{no-littering-var-directory}. +Listing [[lst:sbcl-core-for-sly]] tangles to a script to dump such a [[http://www.sbcl.org/][SBCL]] core. #+caption[Configure =sly=]: #+caption: Configure =sly=. @@ -1854,6 +1857,88 @@ for use with [[http://www.sbcl.org/][Steel Bank Common Lisp (sbcl)]]: (define-key sly-prefix-map (kbd "M-h") #'sly-documentation-lookup)) #+end_src +#+caption[Script to dump a SBCL core for the Sly Common Lisp IDE]: +#+caption: Script to dump a SBCL core for the Sly Common Lisp IDE. +#+header: :tangle-mode (identity #o755) +#+name: lst:sbcl-core-for-sly +#+begin_src shell :noeval :tangle ~/bin/sbcl.core-for-sly + #!/bin/sh + + sbcl <