Amend hack-local-variables-prop-line not always to return any mode on line 1.
commit4a80c8bb276de0fdb1f9ddb8f1c1cf7d57d30918
authorAlan Mackenzie <acm@muc.de>
Fri, 19 Aug 2016 16:03:05 +0000 (19 16:03 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 19 Aug 2016 16:03:05 +0000 (19 16:03 +0000)
tree2f564d769d84ac932263e37a21c267f658fc5412
parent72ef0c8b2ffe13aa3f11534b23613c51f99bb64b
Amend hack-local-variables-prop-line not always to return any mode on line 1.

This fixes bug #24266.

* lisp/files.el (hack-local-variables-prop-line): Change the name of the
parameter mode-only to handle-mode.  Change its meaning, such that it being
set to a value non-nil and not t removes any mode parameter from the result
list.  Leave its values nil and t with the same meanings they had.
(hack-local-variables): Call hack-local-variables-prop-line appropriately.
lisp/files.el