branch: externals/valign
commit 9035bace0edd4580bff3972bbc1177f1093a23bc
Author: Yuan Fu <[email protected]>
Commit: Yuan Fu <[email protected]>

    * valign.el (valign--cell-alignment): Give a default alignment.
---
 valign.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/valign.el b/valign.el
index 79eab0c..cdfe627 100644
--- a/valign.el
+++ b/valign.el
@@ -70,7 +70,7 @@ Assumes point is after the left bar (“|”).
 Doesn’t check if we are in a cell.
 TYPE must be 'markdown-mode.  Simply return HINT."
   (ignore type)
-  hint)
+  (or hint 'left))
 
 (cl-defmethod valign--cell-alignment ((type (eql gfm-mode)) hint)
   "Return how is current cell aligned.

Reply via email to