Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed some obvious issues in Emacs related files #1303

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/hol-input.el
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ order for the change to take effect."
(sexp :tag "Tweaking function"))))

(defcustom hol-input-translations
(eval-when-compile (setq-local max-lisp-eval-depth 2800) `(
(eval-when-compile (setq-local max-lisp-eval-depth 3200) `(

;; Negation

Expand Down
4 changes: 2 additions & 2 deletions tools/holscript-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ On existing quotes, toggles between ‘-’ and “-” pairs. Otherwise, inser
(setq n (- n 1))))
((< n 0)
(setq n (- n))
(setq n (- n (if (equal (skip-syntax-backward ".") 0) 0 1))))
(setq n (- n (if (equal (skip-syntax-backward ".") 0) 0 1)))
(while (> n 0)
(skip-syntax-backward "^.")
(skip-syntax-backward ".")
(setq n (- n 1)))))
(setq n (- n 1))))))

(defun is-a-then (s)
(and s (or (string-equal s "THEN")
Expand Down