summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/undo-tree/files/50undo-tree-gentoo.el')
-rw-r--r--app-emacs/undo-tree/files/50undo-tree-gentoo.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-emacs/undo-tree/files/50undo-tree-gentoo.el b/app-emacs/undo-tree/files/50undo-tree-gentoo.el
index 2f5429d6b910..6fcc1baaf120 100644
--- a/app-emacs/undo-tree/files/50undo-tree-gentoo.el
+++ b/app-emacs/undo-tree/files/50undo-tree-gentoo.el
@@ -1,4 +1,4 @@
-(add-to-list 'load-path "@SITELISP@" )
-
-(require 'undo-tree)
-(global-undo-tree-mode)
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'undo-tree-mode "undo-tree" "Enable undo-trees" t)
+(autoload 'global-undo-tree-mode "undo-tree" "Enable undo-trees globally" t)