summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-11-26 23:45:02 -0500
committerKyle Meyer <kyle@kyleam.com>2015-11-26 23:45:02 -0500
commitf7a80cc50aaee247807a09a62c821149ee75ed1d (patch)
tree876e075f5e54c33c5a6e382bbe40a3b1747b1393
parentae5f443debdc361717aad30739ac839b55a7e877 (diff)
downloademacs.d-f7a80cc50aaee247807a09a62c821149ee75ed1d.tar.gz
Define safe-local-variable for fill-paragraph-function
-rw-r--r--lisp/init-editing.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el
index ebfbd77..19c20db 100644
--- a/lisp/init-editing.el
+++ b/lisp/init-editing.el
@@ -20,6 +20,9 @@
(after 'flyspell
(define-key flyspell-mode-map (kbd "C-.") nil))
+(put 'fill-paragraph-function 'safe-local-variable
+ (lambda (v) (equal v (lambda (_) t))))
+
;; http://www.emacswiki.org/emacs/UnfillParagraph
(defun km/unfill-paragraph ()
"Convert a multi-line paragraph to a single line of text."