Move release notes and quickhelp to core/info directory

This commit is contained in:
syl20bnr 2015-04-22 22:30:00 -04:00
parent d59e88eeec
commit 3b1a4e328e
5 changed files with 9 additions and 2 deletions

View File

@ -15,8 +15,11 @@
(defconst spacemacs-core-directory
(expand-file-name (concat user-emacs-directory "core/"))
"Spacemacs core directory.")
(defconst spacemacs-info-directory
(expand-file-name (concat spacemacs-core-directory "info/"))
"Spacemacs info files directory")
(defconst spacemacs-release-notes-directory
(expand-file-name (concat spacemacs-core-directory "release-notes/"))
(expand-file-name (concat spacemacs-info-directory "release-notes/"))
"Spacemacs release notes directory")
(defconst spacemacs-banner-directory
(expand-file-name (concat spacemacs-core-directory "banners/"))

View File

@ -392,7 +392,7 @@ HPADDING is the horizontal spacing betwee the content line and the frame border.
:tag (propertize "?" 'face 'font-lock-doc-face)
:help-echo "Open the quickhelp."
:action (lambda (&rest ignore)
(spacemacs-buffer/toggle-note (concat dotspacemacs-template-directory "quickhelp.txt")
(spacemacs-buffer/toggle-note (concat spacemacs-info-directory "quickhelp.txt")
;; if nil is returned, just delete the current note widgets
(spacemacs-buffer//insert-note-p 'quickhelp)))
:mouse-face 'highlight

View File

@ -10,3 +10,7 @@ and `(defvar <layer>-excluded-packages ...)` by `(setq ...)`. This will
allow to install newly added packages to a layer without restarting spacemacs
by pressing `SPC f e R`. Be sure to remove the docstring when replacing the
`defvar` since `setq` does not take a third argument.
2. Yasnippet
Yasnippet has been moved to the layer `auto-completion`.