add autoloads

This commit is contained in:
2025-06-29 18:50:53 +02:00
parent 7f3118859b
commit 2f9c196503
4 changed files with 92 additions and 2 deletions

View File

@@ -0,0 +1,39 @@
;;; spacemacs-theme-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 spacemacs-dark-theme.el
(register-definition-prefixes "spacemacs-dark-theme" '("spacemacs-dark"))
;;; Generated autoloads from spacemacs-light-theme.el
(register-definition-prefixes "spacemacs-light-theme" '("spacemacs-light"))
;;; Generated autoloads from spacemacs-theme.el
(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory (file-name-directory load-file-name))))
(register-definition-prefixes "spacemacs-theme" '("create-spacemacs-theme" "spacemacs-theme-"))
;;; End of scraped data
(provide 'spacemacs-theme-autoloads)
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; no-native-compile: t
;; coding: utf-8-emacs-unix
;; End:
;;; spacemacs-theme-autoloads.el ends here

View File

@@ -0,0 +1,43 @@
;;; srefactor-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 srefactor.el
(autoload 'srefactor-refactor-at-point "srefactor" "\
Offer contextual menu with actions based on current tag in scope.
Each menu item added returns a token for what type of refactoring
to perform." t)
(register-definition-prefixes "srefactor" '("srefactor-"))
;;; Generated autoloads from srefactor-lisp.el
(register-definition-prefixes "srefactor-lisp" '("comment-" "cur-buf" "first-token" "format-type" "ignore-num" "lexemes" "next-token" "orig-format-type" "recursive-p" "second-token" "srefactor-" "tok"))
;;; Generated autoloads from srefactor-ui.el
(register-definition-prefixes "srefactor-ui" '("srefactor-ui-"))
;;; End of scraped data
(provide 'srefactor-autoloads)
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; no-native-compile: t
;; coding: utf-8-emacs-unix
;; End:
;;; srefactor-autoloads.el ends here

View File

@@ -41,6 +41,7 @@
;;;###autoload
(defun update-autoloads-sub-packages (&optional file)
(require 'package)
(package-generate-autoloads "all-the-icons" (concat config-dir "lisp/all-the-icons"))
(package-generate-autoloads "dashboard" (concat config-dir "lisp/dashboard"))
(package-generate-autoloads "ivy" (concat config-dir "lisp/ivy"))
@@ -48,6 +49,8 @@
(package-generate-autoloads "my" (concat config-dir "lisp/my"))
;; (package-generate-autoloads "org" (concat config-dir "lisp/org")) ;; already org-loaddefs.el
(package-generate-autoloads "org-contrib" (concat config-dir "lisp/org-contrib"))
(package-generate-autoloads "spacemacs-theme" (concat config-dir "lisp/spacemacs-theme"))
(package-generate-autoloads "srefactor" (concat config-dir "lisp/srefactor"))
(package-generate-autoloads "swiper" (concat config-dir "lisp/swiper"))
)

View File

@@ -52,10 +52,15 @@
(setq srecode-map-save-file (concat user-cache-directory "cedet/srecode-map.el")))
(use-package srefactor ;; https://melpa.org/#/srefactor
:defer t)
:defer t
:init (require 'srefactor-autoloads))
(use-package srefactor-lisp
:after (srefactor))
:commands
(srefactor-lisp-format-buffer
srefactor-lisp-format-defun
srefactor-lisp-one-line
srefactor-lisp-format-sexp))
;; https://github.com/company-mode/company-mode/issues/525#issuecomment-348635719
;; http://ergoemacs.org/emacs/elisp_determine_cursor_inside_string_or_comment.html