Permalink
Browse files

refactor loading

  • Loading branch information...
tavisrudd committed Sep 18, 2011
1 parent 9595d46 commit 238dd3b5b2918666cb36a21b4b802a9b0ce6ebf5
Showing with 6 additions and 7 deletions.
  1. +6 −7 dss-ess.el
View
@@ -1,11 +1,10 @@
(require 'dss-elisp-funcs)
-;;; Installed via gentoo / portage
-(add-to-list 'load-path "/usr/share/emacs/site-lisp/ess")
-(if (file-exists-p "/usr/share/emacs/etc/ess")
- (condition-case nil
- (require 'ess-site)
- (message "Error while loading ess")))
+;; (add-to-list 'load-path "/usr/share/emacs/site-lisp/ess")
+
+(condition-case nil
+ (require 'ess-site)
+ (message "Error while loading ess"))
(defun dss/ess-end-of-buffer ()
(with-current-buffer "*R*"
@@ -67,9 +66,9 @@
(insert "_")
(ess-smart-underscore)))
-(require 'ac-R)
(defun dss/ess-ac-setup ()
(interactive)
+ (require 'ac-R)
(make-local-variable 'ac-ignore-case)
(make-local-variable 'ess-use-R-completion)
(setq ess-use-R-completion nil)

0 comments on commit 238dd3b

Please sign in to comment.