diff options
Diffstat (limited to 'app-emacs/cldoc/files/50cldoc-gentoo.el')
-rw-r--r-- | app-emacs/cldoc/files/50cldoc-gentoo.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emacs/cldoc/files/50cldoc-gentoo.el b/app-emacs/cldoc/files/50cldoc-gentoo.el new file mode 100644 index 000000000000..79e11ea0e710 --- /dev/null +++ b/app-emacs/cldoc/files/50cldoc-gentoo.el @@ -0,0 +1,13 @@ +(add-to-list 'load-path "@SITELISP@") + +(autoload 'cldoc-mode "cldoc" nil t) +(autoload 'turn-on-cldoc-mode "cldoc" nil t) +(add-hook 'lisp-mode-hook 'turn-on-cldoc-mode) + +(add-hook 'slime-repl-mode-hook + #'(lambda () + (turn-on-cldoc-mode) + (define-key slime-repl-mode-map " " nil))) +(add-hook 'slime-mode-hook + #'(lambda () (define-key slime-mode-map " " nil))) +(setq slime-use-autodoc-mode nil) |