Skip to content

Commit

Permalink
tweak(ltex): make eglot-ltex-language local-safe
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 28, 2023
1 parent 117a9f4 commit a0e2ed2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/me-loaddefs.el
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ Get the font faces at POS.
Save a screenshot of the current frame as an SVG image.
Saves to a temp file and puts the filename in the kill ring. If launched with a
prefix or universal argument, it waits for a moment (defined by
`+screenshot-delay') before taking the screenshot." t)
`+screenshot-delay') before taking the screenshot.
(fn OUTFILE)" t)
(autoload '+region-or-thing-at-point "../elisp/+emacs" "\
Return the region or the thing at point.")
(autoload '+webjump "../elisp/+emacs" "\
Expand Down Expand Up @@ -591,6 +593,7 @@ Fallback to FALLBACK-RELEASE when it can't get the last one.

;;; Generated autoloads from ../modules/extras/me-eglot-ltex.el

(put 'eglot-ltex-language 'safe-local-variable 'stringp)
(register-definition-prefixes "../modules/extras/me-eglot-ltex" '("eglot-ltex-"))


Expand Down
1 change: 1 addition & 0 deletions modules/extras/me-eglot-ltex.el
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
:group 'minemacs)

(defvar-local eglot-ltex-language "auto")
;;;###autoload(put 'eglot-ltex-language 'safe-local-variable 'stringp)

(defcustom eglot-ltex-user-rules-path (concat minemacs-local-dir "eglot/ltex/")
"Path to save user rules."
Expand Down

0 comments on commit a0e2ed2

Please sign in to comment.