summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2018-04-14 01:46:17 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2018-04-14 01:46:17 +0200
commitec3d0ea34081789da44f0b11b2cf05627a1e9b8e (patch)
treecac46616624235e11e8c485b767c66ec4a26929c /elisp
parente496177c7ccdc0a36d4809113b1c1f366c1e39ab (diff)
downloadgeiser-guile-ec3d0ea34081789da44f0b11b2cf05627a1e9b8e.tar.gz
geiser-guile-ec3d0ea34081789da44f0b11b2cf05627a1e9b8e.tar.bz2
Adding proper entries to load-path (fixes #246)
And we also take the chance to let add-to-list do its job of not adding duplicates.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/elisp/geiser.el b/elisp/geiser.el
index 72deb05..cbb9171 100644
--- a/elisp/geiser.el
+++ b/elisp/geiser.el
@@ -1,6 +1,6 @@
;;; geiser.el --- GNU Emacs and Scheme talk to each other
-;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2018 Jose Antonio Ortega Ruiz
;; URL: http://www.nongnu.org/geiser/
;; This program is free software; you can redistribute it and/or
@@ -26,8 +26,7 @@
"Directory containing Geiser's Scheme files.")
;;;###autoload
-(when (not (member geiser-elisp-dir load-path))
- (add-to-list 'load-path geiser-elisp-dir))
+(add-to-list 'load-path (directory-file-name geiser-elisp-dir))
;;; Autoloads: