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

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

[elpa] externals/valign 6578fe4 081/198: * valign.el (valign-table): Do


From: Stefan Monnier
Subject: [elpa] externals/valign 6578fe4 081/198: * valign.el (valign-table): Don’t message errors.
Date: Tue, 1 Dec 2020 18:19:21 -0500 (EST)

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

    * valign.el (valign-table): Don’t message errors.
---
 valign.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/valign.el b/valign.el
index 1d339fc..7b452f9 100644
--- a/valign.el
+++ b/valign.el
@@ -510,7 +510,7 @@ for the former, and 'multi-column for the latter."
   (interactive)
   (if (not window-system)
       (signal 'valign-not-gui nil))
-  (condition-case err
+  (condition-case nil
       (save-excursion
         (let (end column-width-list column-idx pos ssw bar-width
                   separator-row-point-list rev-list right-point
@@ -613,9 +613,7 @@ for the former, and 'multi-column for the latter."
                                          valign-separator-row-style
                                          (reverse rev-list)))))
 
-    ((debug valign-bad-cell) (message (error-message-string err)))
-    ((debug valign-not-gui) (message (error-message-string err)))
-    ((debug valign-not-on-table) (message (error-message-string err)))))
+    ((debug valign-bad-cell valign-not-gui valign-not-on-table) nil)))
 
 ;;; Mode intergration
 



reply via email to

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