fix langtool button
This commit is contained in:
41
lisp/langtool/langtool-autoloads.el
Normal file
41
lisp/langtool/langtool-autoloads.el
Normal file
@@ -0,0 +1,41 @@
|
||||
;;; langtool-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*-
|
||||
;; Generated by the `loaddefs-generate' function.
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))
|
||||
|
||||
|
||||
|
||||
;;; Generated autoloads from langtool.el
|
||||
|
||||
(defalias 'langtool-check #'langtool-check-buffer)
|
||||
(autoload 'langtool-check-buffer "langtool" "\
|
||||
Check context current buffer and light up errors.
|
||||
Optional \\[universal-argument] read LANG name.
|
||||
|
||||
You can change the `langtool-default-language' to apply all session.
|
||||
Restrict to selection when region is activated.
|
||||
|
||||
(fn &optional LANG)" t)
|
||||
(autoload 'langtool-switch-default-language "langtool" "\
|
||||
Switch `langtool-default-language' to LANG.
|
||||
|
||||
(fn LANG)" t)
|
||||
(register-definition-prefixes "langtool" '("langtool-"))
|
||||
|
||||
;;; End of scraped data
|
||||
|
||||
(provide 'langtool-autoloads)
|
||||
|
||||
;; Local Variables:
|
||||
;; version-control: never
|
||||
;; no-byte-compile: t
|
||||
;; no-update-autoloads: t
|
||||
;; no-native-compile: t
|
||||
;; coding: utf-8-emacs-unix
|
||||
;; End:
|
||||
|
||||
;;; langtool-autoloads.el ends here
|
||||
@@ -50,6 +50,7 @@
|
||||
(package-generate-autoloads "iscroll" (concat config-dir "lisp/iscroll"))
|
||||
(package-generate-autoloads "ivy" (concat config-dir "lisp/ivy"))
|
||||
(package-generate-autoloads "ivy-rich" (concat config-dir "lisp/ivy-rich"))
|
||||
(package-generate-autoloads "langtool" (concat config-dir "lisp/langtool"))
|
||||
(package-generate-autoloads "my" (concat config-dir "lisp/my"))
|
||||
(package-generate-autoloads "nerd-icons" (concat config-dir "lisp/nerd-icons"))
|
||||
(package-generate-autoloads "olivetti" (concat config-dir "lisp/olivetti"))
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
:after flyspell-correct)
|
||||
|
||||
(use-package langtool
|
||||
:commands (langtool-check langtool-check-buffer)
|
||||
:defer t
|
||||
;;:commands (langtool-check langtool-check-buffer)
|
||||
:autoload (langtool--overlays-region)
|
||||
:init
|
||||
;; classpath where LanguageTool's jars reside
|
||||
(setq langtool-java-classpath
|
||||
|
||||
Reference in New Issue
Block a user