* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): Make
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 23 Mar 2013 22:04:40 +0000 (02:04 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 23 Mar 2013 22:04:40 +0000 (02:04 +0400)
it safe-local.

lisp/ChangeLog
lisp/emacs-lisp/lisp-mode.el

index 731705b..c1124f5 100644 (file)
@@ -1,5 +1,8 @@
 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
 
+       * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): Make
+       it safe-local.
+
        * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
 
 2013-03-23  Leo Liu  <sdl.web@gmail.com>
index 4ebaa0a..b528dd1 100644 (file)
@@ -1436,6 +1436,8 @@ Any non-integer value means do not use a different value of
   :type '(choice (integer)
                  (const :tag "Use the current `fill-column'" t))
   :group 'lisp)
+(put 'emacs-lisp-docstring-fill-column 'safe-local-variable
+     (lambda (x) (or (eq x t) (integerp x))))
 
 (defun lisp-fill-paragraph (&optional justify)
   "Like \\[fill-paragraph], but handle Emacs Lisp comments and docstrings.