root/dotfiles/emacs/yappo/.emacs @ 27058

Revision 27058, 0.8 kB (checked in by yappo, 6 years ago)

add actionscript-mode

Line 
1(display-time)
2(setq make-backup-files nil)
3(setq scroll-step 1)
4
5
6;; 引数をload-pathへ追加する
7(defun add-to-load-path (&rest paths)
8  (mapc '(lambda (path)
9           (add-to-list 'load-path path))
10        (mapcar 'expand-file-name paths)))
11
12;; elispと設定ファイルのディレクトリをload-pathに追加
13(add-to-load-path "~/.emacs.d/elisp"
14                  "~/.emacs.d/conf")
15
16(require 'anything-config)
17(require 'perl-completion)
18(perl-completion-mode t)
19(require 'auto-complete)
20(global-auto-complete-mode t)
21
22
23(autoload 'javascript-mode "javascript-mode" "JavaScript mode" t)
24(autoload 'c-mode "c-mode" "C mode" t)
25
26(load "init-siteconf")
27(load "init-perl")
28(load "init-javascript")
29(load "init-actionscript")
30
31(defun my-insert-date ()
32  (interactive)
33  (insert (format-time-string "%Y-%m-%dT%R:%S+09:00" (current-time))))
Note: See TracBrowser for help on using the browser.