diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-03-24 02:04:40 +0400 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-03-24 02:04:40 +0400 |
commit | bde73d272008310f7d84575088bb94c034c6b7a7 (patch) | |
tree | 3f534fb5a465cade0ddd5599af8b0aee91e4307a /lisp/emacs-lisp/lisp-mode.el | |
parent | cdc0d0bdbd039dd8c826568123b7ae53bc848373 (diff) | |
download | emacs-bde73d272008310f7d84575088bb94c034c6b7a7.tar.gz emacs-bde73d272008310f7d84575088bb94c034c6b7a7.tar.bz2 emacs-bde73d272008310f7d84575088bb94c034c6b7a7.zip |
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): Make
it safe-local.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 4ebaa0a49d5..b528dd11316 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -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. |