本文主要是介绍为Emacs 24.3配置newLISP开发环境,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
本文已经更新, 因为Emacs 24.3已经可以使用package system。所以配置变得简单许多:
首先用配置package system server,参考文章:Emacs package system
然后编辑~/.emacs.d/init.el 文件,加入:
;;newlisp
(require 'newlisp-mode)
(add-to-list 'auto-mode-alist '("\\.lsp$" . newlisp-mode));;;; Things that might make life easier:;; Make Emacs' "speedbar" recognize newlisp files
(eval-after-load "speedbar" '(speedbar-add-supported-extension ".lsp"));; 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);; I think I got tired of typing 'ne
这篇关于为Emacs 24.3配置newLISP开发环境的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!