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
(provide 'doom-lib-buffers)
(defvar-local doom-buffer--narrowed-origin nil)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
;;; core/evil/packages.el
;;; feature/evil/packages.el
;;;###autoload
(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
;; strives to make Emacs a much better vim than vim was.

View file

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

View file

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

View file

@ -1,4 +1,5 @@
;;; lang/emacs-lisp/config.el
(provide '+emacs-lisp)
(associate! emacs-lisp-mode :match "/Cask$")
(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
(provide '+javascript)
(use-package! js2-mode
:mode "\\.js$"

View file

@ -1,4 +1,4 @@
;;; autoload.el
;;; os/macos/autoload.el
;;;###autoload
(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
mac-option-modifier 'alt

View file

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

View file

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

View file

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