Skip to content

Commit

Permalink
fixed emacs a little better
Browse files Browse the repository at this point in the history
  • Loading branch information
yung-turabian committed Feb 22, 2025
1 parent 941f4e9 commit c4bee1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
2 changes: 1 addition & 1 deletion core/lib.ml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ let env : (string * (located_primitive * Types.datatype * pure)) list = [

"mod", int_op (mod) IMPURE;

(* for backwards compatability *)
(* For backwards compatability *)
"+.", float_op ( +. ) PURE;
"-.", float_op ( -. ) PURE;
"*.", float_op ( *.) PURE;
Expand Down
23 changes: 4 additions & 19 deletions links-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -120,32 +120,17 @@
"with"
))

;;; Added by yung-turabian 2025
(defconst links-keywords
; Not the best test
(if (string-equal
(if (string-match
"Links version"
(shell-command-to-string (concat links-executable " --version"))
"Links version 0.9.9 (Burghmuirhead)\n"
)
)
(split-string
(shell-command-to-string (concat links-executable " --print-keywords"))
"\n" " ")
links-backup-keywords)
)


;;; Added by yung-turabian 2025
(defconst links-keywords
; Not the best test
(if (string-equal
(shell-command-to-string (concat links-executable " --version"))
"Links version 0.9.9 (Burghmuirhead)\n"
)
(split-string
(shell-command-to-string (concat links-executable " --print-keywords"))
"\n" " ")
links-backup-keywords)
)
)


(defconst links-font-lock-keywords
Expand Down

0 comments on commit c4bee1a

Please sign in to comment.