Created
February 24, 2014 01:17
-
-
Save kencoba/9180128 to your computer and use it in GitHub Desktop.
emacs24 : Slimeが動かない ref: http://qiita.com/kencoba/items/9a8c793bd7157dbbf6b2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun slime-complete-delay-restoration () | |
(if (fboundp 'make-local-hook) (make-local-hook 'pre-command-hook)) | |
(add-hook 'pre-command-hook | |
'slime-complete-maybe-restore-window-configuration)) | |
;;; Stuff only available in XEmacs | |
(slime-defun-if-undefined add-local-hook (hook function &optional append) | |
(if (fboundp 'make-local-hook) (make-local-hook hook)) | |
(add-hook hook function append t)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment