Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: mays-personal-…
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (21 sloc) 1.03 kb
Note that I just found this code somewhere, got it to work and am documenting
what I've found and any fixes/improvements I make here in case someone else
finds them useful.
The following elisp code in my .emacs or init.el works for me.
- Nicholas E. May
;; Use this to get newlisp mode up and running
(add-to-list 'load-path "~/newlisp-mode")
(load-file "~/newlisp-mode/newlisp.el")
;(require 'newlisp-mode)
(add-to-list 'auto-mode-alist '("\\.lsp$" . newlisp-mode))
;(autoload 'newlisp "newlisp" "Major mode for newlisp files" t)
(eval-after-load "speedbar" '(speedbar-add-supported-extension ".lsp"))
;; Misc. modifications/additions I've made to make life better/easier
; Another way to use C-x C-e to eval stuff and doesn't jump to next function
;(define-key newlisp-mode-map [(control x) (control e)] 'newlisp-evaluate-prev-sexp)
;; OR run-newlisp?
(defun start-newlisp ()
"Starts newlisp interperter/or shows if already running. Requires
newlisp-mode to be loaded."
(interactive)
(newlisp-show-interpreter))
Jump to Line
Something went wrong with that request. Please try again.