From f7a80cc50aaee247807a09a62c821149ee75ed1d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 26 Nov 2015 23:45:02 -0500 Subject: Define safe-local-variable for fill-paragraph-function --- lisp/init-editing.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp') 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." -- cgit v1.2.3