• Troy Hinckley's avatar
    Don't check comp-buffer-name-function in derived mode (Bug#34956) · 905f6195
    Troy Hinckley authored
    * 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.
    905f6195
compile.el 122 KB