We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8836f07 commit 0c281a9Copy full SHA for 0c281a9
plugin/emacs/test/quicklintjs-test.el
@@ -5,6 +5,14 @@
5
(require 'ert)
6
(require 'package)
7
8
+; https://github.com/jwiegley/use-package/issues/1083#issuecomment-2735175731
9
+(unless (or (fboundp 'lisp-data-mode)
10
+ (not enable-local-variables))
11
+ ;; Work around the fact that transient's autogenerated package header declares mode:
12
+ ;; lisp-data, which is only present in Emacs 28+, thus breaking the loading of deps
13
+ (message "Old Emacs version, remapping lisp-data-mode")
14
+ (defalias 'lisp-data-mode 'emacs-lisp-mode))
15
+
16
(defconst cache-dir-name (concat
17
(expand-file-name default-directory)
18
".melpa-cache/"))
0 commit comments