Add provide's to module config.el files + fix module header comments

This commit is contained in:
Henrik Lissner 2017-02-06 00:25:54 -05:00
parent f99468a135
commit bc402868a6
17 changed files with 20 additions and 5 deletions

View file

@ -1,4 +1,5 @@
;;; autoload.el ;;; autoload.el
(provide 'doom-lib-buffers)
(defvar-local doom-buffer--narrowed-origin nil) (defvar-local doom-buffer--narrowed-origin nil)

View file

@ -1,4 +1,5 @@
;;; editor.el ;;; editor.el
(provide 'doom-lib-editor)
(defun doom--goto-first-non-blank () (defun doom--goto-first-non-blank ()
(beginning-of-visual-line) (beginning-of-visual-line)

View file

@ -1,4 +1,5 @@
;;; message.el ;;; message.el
(provide 'doom-lib-message)
;;;###autoload ;;;###autoload
(defun doom-message-buffer () (defun doom-message-buffer ()

View file

@ -1,4 +1,5 @@
;;; packages.el ;;; packages.el
(provide 'doom-lib-packages)
(defvar doom-packages-last-refresh nil (defvar doom-packages-last-refresh nil
"A timestamp indicating the last time `package-refresh-contents' was run.") "A timestamp indicating the last time `package-refresh-contents' was run.")

View file

@ -1,4 +1,5 @@
;;; popups.el ;;; popups.el
(provide 'doom-lib-popups)
;;;###autoload ;;;###autoload
(defun doom-popup-p (&optional window) (defun doom-popup-p (&optional window)

View file

@ -1,4 +1,5 @@
;;; ui.el ;;; ui.el
(provide 'doom-lib-ui)
;;;###autoload ;;;###autoload
(defun doom/toggle-fullscreen () (defun doom/toggle-fullscreen ()

View file

@ -1,4 +1,4 @@
;;; core/evil/packages.el ;;; feature/evil/packages.el
;;;###autoload ;;;###autoload
(defun +evil*ex-replace-special-filenames (file-name) (defun +evil*ex-replace-special-filenames (file-name)

View file

@ -1,5 +1,6 @@
;;; core/evil/config.el ;;; feature/evil/config.el
;; (provide '+evil)
;; I'm a vimmer at heart. Its modal philosophy suits me better, and this module ;; I'm a vimmer at heart. Its modal philosophy suits me better, and this module
;; strives to make Emacs a much better vim than vim was. ;; strives to make Emacs a much better vim than vim was.

View file

@ -1,5 +1,5 @@
;; -*- no-byte-compile: t; -*- ;; -*- no-byte-compile: t; -*-
;;; core/evil/packages.el ;;; feature/evil/packages.el
(package! evil) (package! evil)
(package! evil-args) (package! evil-args)

View file

@ -1,4 +1,5 @@
;;; feature/version-control/config.el ;;; feature/version-control/config.el
(provide '+version-control)
(load! +git) (load! +git)
;; (load! +hg) ;; (load! +hg)

View file

@ -1,4 +1,5 @@
;;; lang/emacs-lisp/config.el ;;; lang/emacs-lisp/config.el
(provide '+emacs-lisp)
(associate! emacs-lisp-mode :match "/Cask$") (associate! emacs-lisp-mode :match "/Cask$")
(add-hook! emacs-lisp-mode '(highlight-quoted-mode auto-compile-on-save-mode +emacs-lisp|hook)) (add-hook! emacs-lisp-mode '(highlight-quoted-mode auto-compile-on-save-mode +emacs-lisp|hook))

View file

@ -1,4 +1,5 @@
;; lang/javascript/config.el ;; lang/javascript/config.el
(provide '+javascript)
(use-package! js2-mode (use-package! js2-mode
:mode "\\.js$" :mode "\\.js$"

View file

@ -1,4 +1,4 @@
;;; autoload.el ;;; os/macos/autoload.el
;;;###autoload ;;;###autoload
(defun +macos-open-with (&optional app-name path) (defun +macos-open-with (&optional app-name path)

View file

@ -1,3 +1,5 @@
;;; os/macos/config.el
(provide '+macos)
(setq mac-command-modifier 'meta (setq mac-command-modifier 'meta
mac-option-modifier 'alt mac-option-modifier 'alt

View file

@ -1,3 +1,4 @@
;; -*- no-byte-compile: t; -*-
;;; os/macos/packages.el ;;; os/macos/packages.el
(package! exec-path-from-shell) (package! exec-path-from-shell)

View file

@ -1,4 +1,5 @@
;;; ui/doom-modeline/config.el ;;; ui/doom-modeline/config.el
(provide '+doom-modeline)
;; all-the-icons doesn't work in the terminal, so we "disable" it. ;; all-the-icons doesn't work in the terminal, so we "disable" it.
(unless (display-graphic-p) (unless (display-graphic-p)

View file

@ -1,4 +1,5 @@
;;; ui/doom/config.el ;;; ui/doom/config.el
(provide '+doom)
(defvar +doom-theme 'doom-one (defvar +doom-theme 'doom-one
"The color theme currently in use.") "The color theme currently in use.")