]> git.rkrishnan.org Git - .emacs.d.git/commitdiff
add dumb-jump mode master
authorRamakrishnan Muthukrishnan <ramakrmu@insiemenetworks.com>
Thu, 18 May 2017 12:07:44 +0000 (17:37 +0530)
committerRamakrishnan Muthukrishnan <ramakrmu@insiemenetworks.com>
Thu, 18 May 2017 12:07:44 +0000 (17:37 +0530)
init.el
packages.el

diff --git a/init.el b/init.el
index 74dcfe3da945c89d73fd47b4acccb29e1ccebd24..638d24df44275ec1c76a66a572e790ee9d8d833c 100644 (file)
--- a/init.el
+++ b/init.el
  ;; If there is more than one, they won't work right.
  '(package-selected-packages
    (quote
-    (tangotango-theme restclient railscasts-theme racket-mode racer paredit notmuch markdown-mode magit leuven-theme ledger-mode hindent go-mode flycheck-rust flycheck-haskell fill-column-indicator company-racer color-theme-sanityinc-tomorrow auto-complete))))
+    (dumb-jump tangotango-theme restclient railscasts-theme racket-mode racer paredit notmuch markdown-mode magit leuven-theme ledger-mode hindent go-mode flycheck-rust flycheck-haskell fill-column-indicator company-racer color-theme-sanityinc-tomorrow auto-complete))))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  )
+
+(dumb-jump-mode)
index 78b8458dd66f69e1adcd6b76dcb009b8e4fa9344..b486b012deed4b65388a0b107952628cb9e47056 100644 (file)
                      flycheck
                      flycheck-rust
                      flycheck-haskell
-                     racer))
+                     racer
+                     dumb-jump))
 
 ; install the missing packages
-(defun install-all-packages ()
-  (dolist (package package-list)
-    (unless (package-installed-p package)
-      (package-install package))))
+(dolist (package package-list)
+  (unless (package-installed-p package)
+    (package-install package)))
 
 ;; upgrade installed
-(defun upgrade-all-packages ()
-  (save-window-excursion
-    (package-list-packages t)
-    (package-menu-mark-upgrades)
-    (package-menu-execute t)))
+(save-window-excursion
+  (package-list-packages t)
+  (package-menu-mark-upgrades)
+  (package-menu-execute t))