]> git.eshelyaron.com Git - emacs.git/commit
Don't check comp-buffer-name-function in derived mode (Bug#34956)
authorTroy Hinckley <t.macman@gmail.com>
Wed, 16 Jan 2019 22:47:07 +0000 (14:47 -0800)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Thu, 4 Apr 2019 23:39:42 +0000 (19:39 -0400)
commit905f6195191a518b7bb2dbdf6eacae41d31fc54e
tree0f6adb66a97c668469704d7662a3d2c00ffdc45b
parent690c678fb6c1fb5b2f828f9bb90782bd0b01c399
Don't check comp-buffer-name-function in derived mode (Bug#34956)

* lisp/progmodes/compile.el (define-compilation-mode): Remove
'compilation-buffer-name-function' from the list of overridden
variables to ensure that it is not mistaken for a variable that can be
major mode specific.  'compilation-buffer-name-function' is used
before the major mode is loaded, therefore overriding it here is
ineffectual.  Also, the function 'compilation-start' takes an optional
argument name-function, so there is already a mechanism to override
it.
lisp/progmodes/compile.el