emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/hyperbole 9def89866a 112/143: HyRolo - (hyrolo-markdown


From: ELPA Syncer
Subject: [elpa] externals/hyperbole 9def89866a 112/143: HyRolo - (hyrolo-markdown-mode): Add missing (require 'markdown-mode)
Date: Mon, 19 Feb 2024 15:59:24 -0500 (EST)

branch: externals/hyperbole
commit 9def89866af36a03d81f7483d58aea15d8ccefe5
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>

    HyRolo - (hyrolo-markdown-mode): Add missing (require 'markdown-mode)
---
 ChangeLog | 1 +
 hyrolo.el | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8bf0975090..fc2bf7100b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 * hyrolo.el (hyrolo-reveal-open-new-overlays, 
hyrolo-reveal-close-old-overlays):
     Wrap 'funcall' in 'hyrolo-funcall-match' so uses HyRolo outline settings.
+            (hyrolo-markdown-mode): Add missing (require 'markdown-mode).
 
 2024-01-27  Bob Weiner  <rsw@gnu.org>
 
diff --git a/hyrolo.el b/hyrolo.el
index ff8b158439..d2dbc0983d 100644
--- a/hyrolo.el
+++ b/hyrolo.el
@@ -3,7 +3,7 @@
 ;; Author:       Bob Weiner
 ;;
 ;; Orig-Date:     7-Jun-89 at 22:08:29
-;; Last-Mod:     28-Jan-24 at 02:11:12 by Bob Weiner
+;; Last-Mod:     28-Jan-24 at 02:33:39 by Bob Weiner
 ;;
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 ;;
@@ -952,6 +952,7 @@ or NAME is invalid, return nil."
   "Major mode for editing Markdown files."
   (unless (fboundp 'markdown-mode)
     (package-install 'markdown-mode))
+  (require 'markdown-mode)
 
   ;; Don't actually derive from `markdown-mode' to avoid its costly setup
   ;; but set its parent mode property to org-mode so `derived-mode-p' checks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]