実家滞在記 10日目

これといって平穏な日を送っています。
昨日の筋トレの疲れが抜けていないせいか,だるいです。
今日,帰京しようと思ったけど,父が,姉の家族と旅行いっていて,
魚をかってくるらしく,それをワタシに食べさせたいらしく,
今日は帰京するのを我慢しようと思いました。


あー,さて,メモメモ。
以前は,jde-mode でしたが,今回は,emacs-lisp-mode のバヤイ。
.el 以外で終わるんは全部無視したれー,な設定。
とりあえず動いているっぽい。

;; for emacs-lisp-mode
(defun emacs-lisp-mode-hook-func ()
  (interactive)
  (make-local-variable 'indent-tabs-mode)
  (setq indent-tabs-mode nil)  
  (make-local-variable 'dabbrev-ignored-buffer-regexps)
  (setq dabbrev-ignored-buffer-regexps '("\\.\\(e[^l]\\|[^e].\\)$"))
  (when (require 'auto-complete nil t)
    (make-local-variable 'ac-sources)
    (setq ac-sources '(ac-source-words-in-buffer
                       ac-source-gtags
                       ac-source-dabbrev
                       ac-source-abbrev))))

(add-hook 'emacs-lisp-mode-hook 'emacs-lisp-mode-hook-func)