Skip to content

Commit

Permalink
Fixed some obvious issues in Emacs related files
Browse files Browse the repository at this point in the history
  • Loading branch information
binghe authored and mn200 committed Sep 23, 2024
1 parent 8094199 commit 0ee9368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 0ee9368

Please sign in to comment.