[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 185affeb56 8/9: hywiki.el - Change `hywiki-di
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole 185affeb56 8/9: hywiki.el - Change `hywiki-directory' to a defcustom |
Date: |
Sun, 11 Aug 2024 03:58:28 -0400 (EDT) |
branch: externals/hyperbole
commit 185affeb56ffe060d3ff52450b456ef9a3f4c68d
Author: bw <rsw@gnu.org>
Commit: bw <rsw@gnu.org>
hywiki.el - Change `hywiki-directory' to a defcustom
This allows this setting to be set properly before loading HyWiki.
---
ChangeLog | 3 +++
hywiki.el | 10 ++++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 82fcd4de56..0e77f3d563 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* hywiki.el (hywiki-maybe-highlight-page-names-in-frame): Reduce sit-for
to 0 since just want to trigger redisplay.
+ (hywiki-publish-to-html): Retrieve HyWiki project by name.
+ (hywiki-directory): Change to a defcustom so can set this before
+ loading Hyperoble.
2024-08-10 Bob Weiner <rsw@gnu.org>
diff --git a/hywiki.el b/hywiki.el
index 1f6b7acdfe..2121646ba4 100644
--- a/hywiki.el
+++ b/hywiki.el
@@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 21-Apr-24 at 22:41:13
-;; Last-Mod: 10-Aug-24 at 21:05:30 by Bob Weiner
+;; Last-Mod: 11-Aug-24 at 01:09:50 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -181,9 +181,11 @@ Use nil for no HyWiki mode indicator."
(defvar hywiki-file-suffix ".org"
"File suffix (including period) to use when creating HyWiki pages.")
-(defvar hywiki-directory '"~/hywiki/"
+(defcustom hywiki-directory '"~/hywiki/"
"Directory that holds all HyWiki pages in Org format.
-See `hywiki-org-publishing-directory' for exported pages in html format.")
+See `hywiki-org-publishing-directory' for exported pages in html format."
+ :type 'string
+ :group 'hyperbole-hywiki)
(defvar-local hywiki-buffer-highlighted-state nil
"State of HyWikiWords highlighting in the associated buffer.
@@ -1201,7 +1203,7 @@ Files are saved in:
Customize this directory with:
{M-x customize-variable RET hywiki-org-publishing-directory RET}."
(interactive "P")
- (org-publish-project (hywiki-org-get-publish-properties) all-pages-flag))
+ (org-publish-project "hywiki" all-pages-flag))
;;;###autoload
(defun hywiki-tags-view (&optional todo-only match view-buffer-name)
- [elpa] externals/hyperbole updated (ce1b5a3a34 -> 99cc9cbd75), ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole 68b68ded5f 5/9: Merge pull request #568 from rswgnu/more-minor-cleanups, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole b10b0ac340 4/9: HyWiki - Publish a HyWiki to HTML: {M-x hywiki-publish-to-html RET}, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole 4b80cd2a8a 2/9: Add keywords to remove warning for define-minor-mode, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole 18ee38d930 7/9: Merge branch 'master' into rsw, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole 99cc9cbd75 9/9: Merge pull request #569 from rswgnu/rsw, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole 0ed3e05a55 6/9: hywiki.el - Reduce sit-for to 0 just to trigger redisplay, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole b880132374 3/9: Shorten first line in docstrings to avoid 80 char warning, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole 1908e42fc3 1/9: Add public declarations to remove warnings, ELPA Syncer, 2024/08/11
- [elpa] externals/hyperbole 185affeb56 8/9: hywiki.el - Change `hywiki-directory' to a defcustom,
ELPA Syncer <=