aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDmitry Gutov2013-03-24 02:04:40 +0400
committerDmitry Gutov2013-03-24 02:04:40 +0400
commitbde73d272008310f7d84575088bb94c034c6b7a7 (patch)
tree3f534fb5a465cade0ddd5599af8b0aee91e4307a /lisp
parentcdc0d0bdbd039dd8c826568123b7ae53bc848373 (diff)
downloademacs-bde73d272008310f7d84575088bb94c034c6b7a7.tar.gz
emacs-bde73d272008310f7d84575088bb94c034c6b7a7.zip
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): Make
it safe-local.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/emacs-lisp/lisp-mode.el2
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 731705b2aa9..c1124f51a8e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12013-03-23 Dmitry Gutov <dgutov@yandex.ru> 12013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2 2
3 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): Make
4 it safe-local.
5
3 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034). 6 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
4 7
52013-03-23 Leo Liu <sdl.web@gmail.com> 82013-03-23 Leo Liu <sdl.web@gmail.com>
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
1436 :type '(choice (integer) 1436 :type '(choice (integer)
1437 (const :tag "Use the current `fill-column'" t)) 1437 (const :tag "Use the current `fill-column'" t))
1438 :group 'lisp) 1438 :group 'lisp)
1439(put 'emacs-lisp-docstring-fill-column 'safe-local-variable
1440 (lambda (x) (or (eq x t) (integerp x))))
1439 1441
1440(defun lisp-fill-paragraph (&optional justify) 1442(defun lisp-fill-paragraph (&optional justify)
1441 "Like \\[fill-paragraph], but handle Emacs Lisp comments and docstrings. 1443 "Like \\[fill-paragraph], but handle Emacs Lisp comments and docstrings.