summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-12-30 22:34:00 +0100
committerGravatar Tom Willemse2013-12-30 22:34:00 +0100
commit612d0f6cd3f99616f9441c928a72060585841076 (patch)
tree55cfecbdf9f8b2997ed840baf97b1c048ad7c0d2
parentb6c38b0d62100bd20c3e4249537ccfe61b8e9de1 (diff)
downloademacs-612d0f6cd3f99616f9441c928a72060585841076.tar.gz
emacs-612d0f6cd3f99616f9441c928a72060585841076.zip
Reorder autoloads
-rw-r--r--.emacs.d/init.el36
1 files changed, 19 insertions, 17 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 7f5c07c..88ffd3b 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -10,6 +10,25 @@
(require 'esh-proc)
(require 'dash))
+;;;; Autoloads
+
+(autoload 'jabber-connect "jabber" nil t)
+(autoload 'jabber-message-libnotify "jabber-libnotify")
+(autoload 'jabber-muc-libnotify "jabber-libnotify")
+(autoload 'jabber-send-message "jabber-chat")
+(autoload 'moz-minor-mode "moz" nil t)
+(autoload 'notifications-notify "notifications")
+(autoload 'php-mode "php-mode" nil t)
+(autoload 'po-mode "po-mode" nil t)
+(autoload 'pony-mode "pony-mode" nil t)
+(autoload 'sawfish-mode "sawfish" nil t)
+(autoload 'server-running-p "server")
+(autoload 'tagedit-mode "tagedit" nil t)
+(autoload 'tern-mode "tern" nil t)
+(autoload 'w3m-bookmark-view "w3m" nil t)
+(autoload 'w3m-goto-url "w3m" nil t)
+(autoload 'xmodmap-mode "xmodmap-mode" nil t)
+
;;;; Macros
(defmacro stante-after (feature &rest forms)
"After FEATURE is loaded, evaluate FORMS.
@@ -877,7 +896,6 @@ If no direction is given, don't split."
(global-set-key (kbd "C-c R") #'delete-window)
(add-to-list 'load-path "/usr/lib/node_modules/tern/emacs/")
-(autoload 'tern-mode "tern" nil t)
(stante-after tern
(require 'tern-auto-complete)
@@ -892,27 +910,11 @@ If no direction is given, don't split."
(add-hook 'c-mode-hook #'smartparens-strict-mode)
-(autoload 'moz-minor-mode "moz" nil t)
(add-hook 'javascript-mode-hook 'moz-minor-mode)
(global-set-key (kbd "C-c -") #'decrease-number-at-point)
(global-set-key (kbd "C-c +") #'increase-number-at-point)
-(autoload 'jabber-connect "jabber" nil t)
-(autoload 'jabber-message-libnotify "jabber-libnotify")
-(autoload 'jabber-muc-libnotify "jabber-libnotify")
-(autoload 'jabber-send-message "jabber-chat")
-(autoload 'notifications-notify "notifications")
-(autoload 'php-mode "php-mode" nil t)
-(autoload 'po-mode "po-mode" nil t)
-(autoload 'pony-mode "pony-mode" nil t)
-(autoload 'sawfish-mode "sawfish" nil t)
-(autoload 'server-running-p "server")
-(autoload 'tagedit-mode "tagedit" nil t)
-(autoload 'w3m-bookmark-view "w3m" nil t)
-(autoload 'w3m-goto-url "w3m" nil t)
-(autoload 'xmodmap-mode "xmodmap-mode" nil t)
-
(defadvice org-agenda-redo (after ext:org-agenda-redo-add-appts)
"Pressing `r' on the agenda will also add appointments."
(progn