blob: 83e01677c08829f19fbe45ee5841d4e475f6047a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
;;; init-ecb.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;
;;; Code:
;;----------------------------------------------------------------------------
;; ECB
;;----------------------------------------------------------------------------
(use-package ecb
:config
(custom-set-variables '(ecb-options-version "2.50"))
(setq-default ecb-tip-of-the-day nil)
(setq ecb-examples-bufferinfo-buffer-name nil)
(defun ecb-toggle ()
"Toogle ECB."
(interactive)
(eval-when-compile (require 'ecb nil t))
(when (and (require 'ecb nil t)
(fboundp 'ecb-deactivate))
(if ecb-minor-mode
(ecb-deactivate)
(ecb-activate))))
(global-set-key [f2] 'ecb-toggle)
)
(provide 'init-ecb)
;; Local Variables:
;; byte-compile-warnings: (not free-vars)
;; End:
;;; init-ecb.el ends here
|