Skip to content

Commit

Permalink
Update use-package, add realgud for Java.
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwen0228 committed Jan 10, 2018
1 parent 8e47546 commit 5aa5cdb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions core/unimacs-modes.el
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))

(use-package dizzee
:init
:config
(dz-defservice gifcap "licecap.exe")
(dz-defservice keycastow "keycastow.exe")
(dz-defservice-group unimacs-gifcap-keycastow
Expand All @@ -87,7 +87,6 @@
;; keycastow position is in utils/extra-bins/gifcap/keycastow.ini
(set-frame-position nil 300 100)
(set-frame-size nil 622 500 t))
:config
(defun dz-comint-pop (name command &optional args dont-pop)
"Make a comint buffer for process `name', executing `command' with
`args' and then pop to that buffer."
Expand Down Expand Up @@ -289,6 +288,7 @@
(use-package so-long :ensure nil
:init
(setq so-long-threshold 500)
:config
(so-long-enable))

(use-package subword
Expand Down
1 change: 1 addition & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
(add-to-list 'load-path name)
(unimacs-add-subfolders-to-load-path name)))))

(require 'info nil t) ; must require before realgud.
;; add Unimacs's directories to Emacs's `load-path'
(add-to-list 'load-path unimacs-core-dir)
(add-to-list 'load-path unimacs-configures-dir)
Expand Down
1 change: 0 additions & 1 deletion packages/vendor/org-freemind/ox-freemind.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
;;; Define Back-End

(org-export-define-derived-backend 'freemind 'html
:export-block "FREEMIND"
:menu-entry
'(?f "Export to Freemind Mindmap"
((?f "As Freemind Mindmap file" org-freemind-export-to-freemind)
Expand Down
10 changes: 5 additions & 5 deletions personal/configures/init-helm-projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

;;; Code:
(use-package helm-projectile
:bind (("C-c p C" . helm-projectile-create-project)
("C-c p f" . helm-projectile-find-file)
("C-c p b" . helm-projectile-switch-to-buffer)
("C-c p p" . helm-projectile-switch-project))
:bind* (("C-c p C" . helm-projectile-create-project)
("C-c p f" . helm-projectile-find-file)
("C-c p b" . helm-projectile-switch-to-buffer)
("C-c p p" . helm-projectile-switch-project))
:preface
(defun helm-projectile-create-project (dir)
(interactive "D")
(interactive "Dproject root:")
;; Add to the know projects.
(projectile-add-known-project dir)
(with-temp-file (expand-file-name ".projectile" dir)
Expand Down
2 changes: 1 addition & 1 deletion personal/configures/init-java.el
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
))

:config
;; (use-package realgud)
(use-package realgud)
(setq indent-tabs-mode nil)
;; (setq tab-width 4)
;; (setq c-basic-offset 4)
Expand Down

0 comments on commit 5aa5cdb

Please sign in to comment.