From: Ramakrishnan Muthukrishnan Date: Thu, 18 May 2017 12:07:44 +0000 (+0530) Subject: add dumb-jump mode X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/frontends/?a=commitdiff_plain;p=.emacs.d.git add dumb-jump mode --- diff --git a/init.el b/init.el index 74dcfe3..638d24d 100644 --- a/init.el +++ b/init.el @@ -259,10 +259,12 @@ ;; 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) diff --git a/packages.el b/packages.el index 78b8458..b486b01 100644 --- a/packages.el +++ b/packages.el @@ -40,18 +40,17 @@ 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))