From 612d0f6cd3f99616f9441c928a72060585841076 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 30 Dec 2013 22:34:00 +0100 Subject: Reorder autoloads --- .emacs.d/init.el | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to '.emacs.d/init.el') 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 -- cgit v1.2.3-54-g00ecf