diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2018-04-14 01:46:17 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2018-04-14 01:46:17 +0200 |
commit | ecb1cabe6e7c0061377f3858b1933e71a3215781 (patch) | |
tree | 243c4bed3fe3ac0607691058b4fa2cd3a545ead9 | |
parent | 79fc9c177126ee149637b0e9d242b7d3982e3427 (diff) | |
download | geiser-ecb1cabe6e7c0061377f3858b1933e71a3215781.tar.gz geiser-ecb1cabe6e7c0061377f3858b1933e71a3215781.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.
-rw-r--r-- | elisp/geiser.el | 5 |
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: |