Habibullah’s posterous

« Back to blog
September 25, 2008

To Auto-start ACL when you start Emacs

To Auto-start Allegro Common Lisp when you start Emacs, do the following:

1) Add the lines to your .emacs file described here.

2) Comment out the C-x-3-l keybinding section that you've copy pasted above. i.e. note the difference in the code here and the one you've added.

;; Set up a keybinding for `run-common-lisp':
;;(progn
;;   (setq ctlx-3-map (make-keymap))
;;   (define-key ctl-x-map "3" ctlx-3-map)
;;   (define-key ctlx-3-map "l" 'run-common-lisp))

3) To run Allegro Common Lisp everytime you start emacs, add the following lines:
;; Run cl each time Emacs is run:
(run-common-lisp)

4) Save the buffer and restart Emacs. You should find a *common-lisp* buffer available to you.

5) In case you want to restore the key-binding, comment out the code you added in step 3 and uncomment the changes in step 2.


Comments (0)
Leave a comment...
 
To leave a comment on this posterous, please login.
Click here to login or sign up