Skip to content

Commit

Permalink
Use default value of debug-on-error (#613)
Browse files Browse the repository at this point in the history
Use default value of debug-on-error

Was set to produce a backtrace but it is not required. See
"(elisp)Batch Mode".
  • Loading branch information
matsl authored Nov 24, 2024
1 parent f2b9868 commit 3253909
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2024-11-23 Mats Lidell <[email protected]>

* Makefile (BATCHFLAGS): Use debug-on-error's default value nil. Emacs 31
introduces calling man using with-demoted-errors which
causes an error when requiring man when debug-on-error is set to t.

2024-11-19 Bob Weiner <[email protected]>

* hywiki.el (hywiki-maybe-highlight-page-name): Fix that adding
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Bob Weiner
#
# Orig-Date: 15-Jun-94 at 03:42:38
# Last-Mod: 17-Nov-24 at 00:02:09 by Mats Lidell
# Last-Mod: 23-Nov-24 at 11:23:02 by Mats Lidell
#
# Copyright (C) 1994-2023 Free Software Foundation, Inc.
# See the file HY-COPY for license information.
Expand Down Expand Up @@ -191,7 +191,7 @@ PRELOADS = $(SITE_PRELOADS) -l ./hload-path.el -l ./hversion.el -l ./hyperbole.e

# Compile in batch mode. Load site-lisp/site-start.el, which may set load-path.
# Show complete expression; do not abbreviate any exprs in batch logs with ...
BATCHFLAGS = --batch --quick --eval "(progn (setq debug-on-error t) (setq backtrace-line-length 0) \
BATCHFLAGS = --batch --quick --eval "(progn (setq backtrace-line-length 0) \
(message \" emacs-version = %s\n system-configuration = %s\n emacs = %s%s\n load-path = %s\" emacs-version system-configuration invocation-directory invocation-name load-path))"

EMACS_BATCH=$(EMACS) $(BATCHFLAGS) $(PRELOADS)
Expand Down

0 comments on commit 3253909

Please sign in to comment.