Skip to content

Commit

Permalink
fix(_prepare.el): Keywords cannot be parsed in Emacs 26.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Dec 15, 2024
1 parent e82e048 commit 0cb755e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lisp/_prepare.el
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,12 @@ full detials."

(defun eask-package-desc-keywords ()
"Return keywords from package descriptor."
(when eask-package-desc (package-desc--keywords eask-package-desc)))
(when eask-package-desc
(or (package-desc--keywords eask-package-desc)
(and eask-package-file
(with-temp-buffer
(insert-file-contents eask-package-file)
(lm-keywords-list))))))

(defun eask-pkg-el ()
"Return package description file if exists."
Expand Down

0 comments on commit 0cb755e

Please sign in to comment.