branch: externals/hyperbole
commit d9f7c7fb7a34a153d636f809d91f5f94ea2dc4e7
Author: Mats Lidell <mats.lid...@lidells.se>
Commit: GitHub <nore...@github.com>

    Run Emacs as a make target for use with docker (#608)
---
 ChangeLog | 4 ++++
 Makefile  | 7 ++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 9363ddb866..432838e7cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-11-17  Mats Lidell  <ma...@gnu.org>
+
+* Makefile (run-emacs): Run Emacs as a make target for use with docker.
+
 2024-11-16  Mats Lidell  <ma...@gnu.org>
 
 * test/hsys-org-tests.el (hsys-org--meta-return-on-end-of-line): Add test
diff --git a/Makefile b/Makefile
index 0998ad1c94..a3c2726386 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 # Author:       Bob Weiner
 #
 # Orig-Date:    15-Jun-94 at 03:42:38
-# Last-Mod:     27-Oct-24 at 21:27:42 by Mats Lidell
+# Last-Mod:     17-Nov-24 at 00:02:09 by Mats Lidell
 #
 # Copyright (C) 1994-2023  Free Software Foundation, Inc.
 # See the file HY-COPY for license information.
@@ -629,6 +629,11 @@ docker-run: docker-update
 docker-update:
        docker pull silex/emacs:${DOCKER_VERSION}
 
+# Target for running emacs in the container with hyperbole loaded.
+# Example: make docker version=29.4 targets="clean bin run-emacs"
+run-emacs:
+       emacs --eval "(progn (add-to-list 'load-path \"/hyperbole\") (require 
'hyperbole) (hyperbole-mode 1))"
+
 # Run with coverage. Run tests given by testspec and monitor the
 # coverage for the specified file.
 #

Reply via email to