Skip to content

Commit

Permalink
Move ccc-setup to skk-setup.el (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
myuhe committed Jan 11, 2015
1 parent 1a39bde commit adf9def
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 0 additions & 9 deletions ccc.el
Original file line number Diff line number Diff line change
Expand Up @@ -288,15 +288,6 @@
(defadvice disable-theme (after ccc-ad activate)
(ccc-setup-current-colors))

;; Hooks
(add-hook 'post-command-hook 'ccc-update-buffer-local-frame-params)
(add-hook 'after-make-frame-functions 'ccc-setup-new-frame)
;;;###autoload
(add-hook 'after-init-hook
(lambda ()
(when window-system
(ccc-setup))))

(provide 'ccc)

;;; ccc.el ends here
4 changes: 3 additions & 1 deletion skk-setup.el.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
(when (and (symbol-value 'init-file-user)
skk-preload)
(skk-preload)
(message "SKK preload...done")))
(message "SKK preload...done"))
(when window-system
(ccc-setup)))
t)

(provide 'skk-setup)
Expand Down

0 comments on commit adf9def

Please sign in to comment.