summaryrefslogtreecommitdiff
path: root/pancake.el
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-12-22 05:57:17 +0300
committerdefanor <defanor@uberspace.net>2017-12-22 05:57:17 +0300
commit8c4f75fe2d30578a2e7073e760c94c98200cba45 (patch)
tree065beb327fae1d707a95e03bcba0b3be33ec37ed /pancake.el
parent8b97635c41c998e6190f89c9883b2dcac5d8df09 (diff)
Partially delegate line wrapping to Emacs
Not for tables or lists, but for regular text lines. Using visual-line-mode for that by default.
Diffstat (limited to 'pancake.el')
-rw-r--r--pancake.el5
1 files changed, 3 insertions, 2 deletions
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)