branch: externals/jgraph-mode
commit 62ce4c369f4c9eae0b6aed18f4039b6a8f43de80
Author: Stefan Monnier <monn...@iro.umontreal.ca>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    (jgraph-indent-line): Pass format to `with-demoted-errors`
---
 jgraph-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jgraph-mode.el b/jgraph-mode.el
index ea2a0d2543..ebaffb3e4d 100644
--- a/jgraph-mode.el
+++ b/jgraph-mode.el
@@ -1,6 +1,6 @@
 ;;; jgraph-mode.el --- Major mode for Jgraph files  -*- lexical-binding:t -*-
 
-;; Copyright (C) 2006, 2011-2012, 2014, 2015  Free Software Foundation, Inc
+;; Copyright (C) 2006-2022  Free Software Foundation, Inc
 
 ;; Author: Stefan Monnier <monn...@iro.umontreal.ca>
 ;; Version: 1.1
@@ -214,7 +214,7 @@
   "Indent current line of Jgraph code."
   (interactive)
   (let* ((savep (point))
-        (indent (or (with-demoted-errors
+        (indent (or (with-demoted-errors "%S"
                        (save-excursion
                          (forward-line 0)
                          (skip-chars-forward " \t")

Reply via email to