From ecb1cabe6e7c0061377f3858b1933e71a3215781 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 14 Apr 2018 01:46:17 +0200 Subject: 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. --- elisp/geiser.el | 5 ++--- 1 file 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: -- cgit v1.2.3