[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 390a976 01/20: * hload-path.el (hyperb:dir):
From: |
Robert Weiner |
Subject: |
[elpa] externals/hyperbole 390a976 01/20: * hload-path.el (hyperb:dir): If the Emacs Package Manager has already added this |
Date: |
Tue, 9 Aug 2016 19:17:07 +0000 (UTC) |
branch: externals/hyperbole
commit 390a9764249335e24fa14c477dc799129213dbfc
Author: Bob Weiner <address@hidden>
Commit: Bob Weiner <address@hidden>
* hload-path.el (hyperb:dir): If the Emacs Package Manager has already
added this
to load-path without a trailing directory separator, don't add it with
one.
---
ChangeLog | 9 +++++++++
hload-path.el | 9 ++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 87cbbf0..6271540 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
-- Almost all changes listed herein are new as of 2016. --
+2016-07-27 Bob Weiner <address@hidden>
+
+* hload-path.el (hyperb:dir): If the Emacs Package Manager has already added
this
+ to load-path without a trailing directory separator, don't add it with one.
+
+==============================================================================
+V6.0.2 changes ^^^^:
+==============================================================================
+
2016-07-26 Mats Lidell <address@hidden>
* hypb.el (hypb:rgrep-command): Removed -Z option.
diff --git a/hload-path.el b/hload-path.el
index 60df85e..db6b3c5 100644
--- a/hload-path.el
+++ b/hload-path.el
@@ -51,8 +51,11 @@
"Directory where the Hyperbole executable code is kept.
It must end with a directory separator character.")
-;; Add hyperb:dir to load-path so other Hyperbole libraries can be found.
-(add-to-list 'load-path hyperb:dir)
+;; Add hyperb:dir to load-path so other Hyperbole libraries can be
+;; found unless it is already there since the Emacs Package Manager
+;; may have already added it.
+(unless (member (directory-file-name hyperb:dir) load-path)
+ (add-to-list 'load-path hyperb:dir))
;;; ************************************************************************
;;; Koutliner mode and file suffix importation settings
@@ -62,7 +65,7 @@ It must end with a directory separator character.")
;; initializations.
(if hyperb:kotl-p
- (progn (add-to-list #'load-path (expand-file-name "kotl/" hyperb:dir))
+ (progn (add-to-list 'load-path (expand-file-name "kotl/" hyperb:dir))
;; Invoke kotl-mode for files ending in ".kotl". Also
;; allow ".kot" for DOS and Windows users.
(setq auto-mode-alist (cons '("\\.kotl$\\|\\.kot$" . kotl-mode)
- [elpa] externals/hyperbole b0724a8 18/20: Updates to release, package and elpa targets., (continued)
- [elpa] externals/hyperbole b0724a8 18/20: Updates to release, package and elpa targets., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 5ae3550 03/20: * hactypes.el (exec-shell-cmd): Replaced call to old function 'show-output-from-shell', Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole fbee779 10/20: Minor hibtypes.el edit., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 3174664 11/20: Fixed misnamed reference to hpath:file-suffix-regexp., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole e28b8bf 02/20: * HY-ANNOUNCE (About):, Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 6e38a4b 17/20: Merge branch 'master' of http://git.savannah.gnu.org/r/hyperbole into externals/hyperbole., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole ab16a35 06/20: * Changes: Renamed this file from ChangeLog since Elpa release builds, Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole a2b8a90 04/20: * hyperbole.el: Updated the header fields to better match GNU standards for use, Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 7e1675e 05/20: * README.md: Added menu images and screenshots for easy access., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 275331f 16/20: Updated package, release and elpa targets., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 390a976 01/20: * hload-path.el (hyperb:dir): If the Emacs Package Manager has already added this,
Robert Weiner <=
- [elpa] externals/hyperbole df14034 20/20: Merge branch 'master' of http://git.savannah.gnu.org/r/hyperbole into externals/hyperbole, Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 12651d8 19/20: Upcased mistyped HYPB_VERSION in release target., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole ad7a089 13/20: * hys-org.el (defib org-mode, org-mode:help): Ensured trigger only in org-mode and simplified logic., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 77a075f 07/20: * README.md.html - Added., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 71b8e73 08/20: 2016-08-05 Bob Weiner <address@hidden>, Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 62547e0 12/20: * hmouse-tag.el (smart-asm-include-file, smart-c-include-file): Simplified conditionals a bit., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 72833c9 15/20: Merge branch 'master' V6.0.2 of http://git.savannah.gnu.org/r/hyperbole into externals/hyperbole, Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole cc0493a 14/20: * hactypes.el (link-to-web-search): Added so Hyperbole global and explicit buttons can execute web searches., Robert Weiner, 2016/08/09
- [elpa] externals/hyperbole 1f27deb 09/20: * hibtypes.el (annot-bib): Added markdown-mode to the excluded list to avoid conflict with its links., Robert Weiner, 2016/08/09