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

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

[elpa] externals/valign 4742db5 01/11: * valign.el (valign--cell-content


From: Stefan Monnier
Subject: [elpa] externals/valign 4742db5 01/11: * valign.el (valign--cell-content-config): Add position info to error report.
Date: Thu, 28 Jan 2021 00:10:23 -0500 (EST)

branch: externals/valign
commit 4742db57aa981bb34895805ac49ff503f84b1d4b
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    * valign.el (valign--cell-content-config): Add position info to error 
report.
---
 valign.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/valign.el b/valign.el
index 0ff7b7d..6ad87ff 100644
--- a/valign.el
+++ b/valign.el
@@ -207,7 +207,9 @@ right bar."
             (save-excursion
               (unless (search-forward bar-char (line-end-position) t)
                 (signal 'valign-parse-error
-                        '("Missing the right bar (|)")))
+                        (list (format
+                               "Missing the right bar (|) around %d"
+                               (line-end-position)))))
               (match-beginning 0)))
            ;; `content-beg-strict' is the beginning of the content
            ;; excluding any white space. Same for `content-end-strict'.



reply via email to

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