; * lisp/so-long.el: Backwards-compatibility fix for Emacs < 30
We support Emacs 24.4 and later (for ELPA releases), so revert the
change from commit 7705bdfa5b
This commit is contained in:
parent
03a6d5a763
commit
25eabcde0d
1 changed files with 2 additions and 1 deletions
|
@ -1716,7 +1716,8 @@ major mode is a member (or derivative of a member) of `so-long-target-modes'.
|
|||
(not so-long--inhibited)
|
||||
(not so-long--calling)
|
||||
(or (eq so-long-target-modes t)
|
||||
(derived-mode-p so-long-target-modes))
|
||||
;; Maintain `derived-mode-p' compatibility with Emacs < 30.
|
||||
(apply #'derived-mode-p so-long-target-modes))
|
||||
(setq so-long-detected-p (funcall so-long-predicate))
|
||||
;; `so-long' should be called; but only if and when the buffer is
|
||||
;; displayed in a window. Long lines in invisible buffers are generally
|
||||
|
|
Loading…
Add table
Reference in a new issue