Skip to content

Commit

Permalink
defalias lisp-data-mode to emacs-lisp-mode not normal-mode
Browse files Browse the repository at this point in the history
Although normal-mode was fine for e.g. Emacs 26.3 it wasn't for Emacs
25.1, where installing faceup resulted in infinite:

  File mode specification error: (error Lisp nesting exceeds ‘max-lisp-eval-depth’)
  Directory-local variables error: (error Lisp nesting exceeds ‘max-lisp-eval-depth’)
  File local-variables error: (error Lisp nesting exceeds ‘max-lisp-eval-depth’)
  ...

As wild ass guess, try emacs-lisp-mode instead.
  • Loading branch information
greghendershott committed Sep 29, 2024
1 parent 1fceee3 commit 383ad32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ melpa-url := https://melpa.org/packages/
deps:
$(batch-emacs) \
--eval '(add-to-list (quote package-archives) (cons "melpa" "$(melpa-url)"))' \
--eval '(unless (fboundp (quote lisp-data-mode)) (defalias (quote lisp-data-mode) (quote normal-mode)))' \
--eval '(unless (fboundp (quote lisp-data-mode)) (defalias (quote lisp-data-mode) (quote emacs-lisp-mode)))' \
--eval '(package-refresh-contents)' \
--eval '(package-install (quote faceup))' \
--eval '(package-install (quote paredit))'
Expand Down

0 comments on commit 383ad32

Please sign in to comment.