From 8c4f75fe2d30578a2e7073e760c94c98200cba45 Mon Sep 17 00:00:00 2001 From: defanor Date: Fri, 22 Dec 2017 05:57:17 +0300 Subject: Partially delegate line wrapping to Emacs Not for tables or lists, but for regular text lines. Using visual-line-mode for that by default. --- pancake.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pancake.el') diff --git a/pancake.el b/pancake.el index 85fcd94..e41a822 100644 --- a/pancake.el +++ b/pancake.el @@ -101,7 +101,7 @@ "A strike-through face." :group 'pancake) -(defcustom pancake-command '("pancake" "--embedded") +(defcustom pancake-command '("pancake" "--embedded" "--no-wrap") "A command that runs pancake, along with its arguments" :type '(list string) :group 'pancake) @@ -508,7 +508,8 @@ it to `pancake-process' as input." "Keymap for `pancake-mode'.") (define-derived-mode pancake-mode nil "Pancake" - "A basic emacs interface to the pancake browser.") + "A basic emacs interface to the pancake browser." + (visual-line-mode)) (provide 'pancake) -- cgit v1.2.3