emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113350: * files.el (require-final-newline): Allow s


From: Leo Liu
Subject: [Emacs-diffs] trunk r113350: * files.el (require-final-newline): Allow safe local value.
Date: Wed, 10 Jul 2013 03:11:48 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113350
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/14834
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Wed 2013-07-10 11:10:27 +0800
message:
  * files.el (require-final-newline): Allow safe local value.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/files.el                  files.el-20091113204419-o5vbwnq5f7feedwu-265
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-07-09 06:59:45 +0000
+++ b/lisp/ChangeLog    2013-07-10 03:10:27 +0000
@@ -1,3 +1,8 @@
+2013-07-10  Leo Liu  <address@hidden>
+
+       * files.el (require-final-newline): Allow safe local value.
+       (Bug#14834)
+
 2013-07-09  Leo Liu  <address@hidden>
 
        * ido.el (ido-read-directory-name): Handle fallback.

=== modified file 'lisp/files.el'
--- a/lisp/files.el     2013-07-06 17:58:41 +0000
+++ b/lisp/files.el     2013-07-10 03:10:27 +0000
@@ -316,12 +316,14 @@
 
 Certain major modes set this locally to the value obtained
 from `mode-require-final-newline'."
+  :safe #'symbolp
   :type '(choice (const :tag "When visiting" visit)
                 (const :tag "When saving" t)
                 (const :tag "When visiting or saving" visit-save)
                 (const :tag "Don't add newlines" nil)
                 (other :tag "Ask each time" ask))
-  :group 'editing-basics)
+  :group 'editing-basics
+  :version "24.4")
 
 (defcustom mode-require-final-newline t
   "Whether to add a newline at end of file, in certain major modes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]