Replace use of parent-mode-list
in spacemacs-visual/funcs.el
(#15209)
This commit is contained in:
parent
651a7a9f11
commit
387d165455
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
;; ansi-colors
|
||||
|
||||
(defun spacemacs-visual//compilation-buffer-apply-ansi-colors ()
|
||||
(when (memq 'compilation-mode (parent-mode-list major-mode))
|
||||
(when (memq 'compilation-mode (get major-mode 'derived-mode-parent))
|
||||
(let ((inhibit-read-only t))
|
||||
(goto-char compilation-filter-start)
|
||||
(ansi-color-apply-on-region (line-beginning-position) (point-max)))))
|
||||
|
|
Reference in a new issue