Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 0776e8fd authored by Ryan C. Thompson's avatar Ryan C. Thompson

Use "default-directory" in recipes

parent 94dc2908
......@@ -6,6 +6,6 @@
:load-path "."
:post-init (lambda ()
(require 'auto-complete)
(add-to-list 'ac-dictionary-directories (expand-file-name "dict" pdir))
(add-to-list 'ac-dictionary-directories (expand-file-name "dict" default-directory))
(require 'auto-complete-config)
(ac-config-default)))
......@@ -4,7 +4,7 @@
:url "https://github.com/sellout/emacs-color-theme-solarized.git"
:depends color-theme
:post-init (lambda ()
(add-to-list 'custom-theme-load-path pdir)
(add-to-list 'custom-theme-load-path default-directory)
(autoload 'color-theme-solarized-light "color-theme-solarized"
"color-theme: solarized-light" t)
(autoload 'color-theme-solarized-dark "color-theme-solarized"
......
......@@ -7,7 +7,7 @@
(lambda ()
;; Load yasnippet because yas/load-directory has no autoload
(require 'yasnippet)
(yas/load-directory (expand-file-name "snippets" pdir))
(yas/load-directory (expand-file-name "snippets" default-directory))
(autoload 'django-mode "django-mode" "Major mode for Django web framework." t)
;; django-html-mode is autoloaded, should just work
(add-to-list 'auto-mode-alist '("\.djhtml$" . django-html-mode))))
......@@ -4,4 +4,4 @@
:url "git://git.naquadah.org/naquadah-theme.git"
:post-init (lambda ()
(add-to-list 'custom-theme-load-path
(el-get-package-directory 'naquadah-theme))))
default-directory)))
......@@ -11,7 +11,7 @@
(expand-file-name
(convert-standard-filename
(concat (file-name-as-directory
(el-get-package-directory "package"))
default-directory)
"elpa")))
package-directory-list
(list (file-name-as-directory package-user-dir)
......
......@@ -5,4 +5,4 @@
:features pcmpl-git
:prepare (lambda ()
(setq pcmpl-git-options-file
(expand-file-name "git-options" (el-get-package-directory 'pcmpl-git)))))
(expand-file-name "git-options" default-directory))))
......@@ -8,7 +8,7 @@
(setenv
"PYTHONPATH"
(let ((pp (getenv "PYTHONPATH")))
(concat (el-get-package-directory "pymacs")
(concat default-directory
(unless (string-prefix-p ":" pp) ":")
pp)))
(autoload 'pymacs-load "pymacs" nil t)
......
......@@ -3,6 +3,6 @@
:post-init
(lambda ()
(unless (boundp 'pymacs-load-path) (setq pymacs-load-path nil))
(add-to-list 'pymacs-load-path (el-get-package-directory "rope")))
(add-to-list 'pymacs-load-path default-directory))
:type hg
:url "http://bitbucket.org/agr/rope")
......@@ -3,7 +3,7 @@
:post-init
(lambda ()
(unless (boundp 'pymacs-load-path) (setq pymacs-load-path nil))
(add-to-list 'pymacs-load-path (el-get-package-directory "ropemacs")))
(add-to-list 'pymacs-load-path default-directory))
:depends (rope ropemode)
:type hg
:url "http://bitbucket.org/agr/ropemacs")
......@@ -3,6 +3,6 @@
:post-init
(lambda ()
(unless (boundp 'pymacs-load-path) (setq pymacs-load-path nil))
(add-to-list 'pymacs-load-path (el-get-package-directory "ropemode")))
(add-to-list 'pymacs-load-path default-directory))
:type hg
:url "http://bitbucket.org/agr/ropemode")
......@@ -10,10 +10,9 @@
:post-init (lambda ()
(setq uim-el-agent (concat
(file-name-as-directory
(el-get-package-directory "uim-el"))
default-directory)
"emacs/uim-el-agent"))
(setq uim-el-helper-agent (concat
(file-name-as-directory
(el-get-package-directory "uim-el"))
default-directory)
"emacs/uim-el-helper-agent"))))
......@@ -4,4 +4,4 @@
:url "https://raw.github.com/djcb/elisp/master/themes/zenburn-theme.el"
:post-init (lambda ()
(add-to-list 'custom-theme-load-path
(el-get-package-directory "zenburn-theme"))))
default-directory)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment