Propose a couple of spelling corrections
This commit is contained in:
parent
1ae5463051
commit
5e3c96562a
|
@ -395,7 +395,7 @@ file.")
|
||||||
"If non-nil then warning messages emitted by the layer system are ignored.")
|
"If non-nil then warning messages emitted by the layer system are ignored.")
|
||||||
|
|
||||||
(defvar configuration-layer--package-properties-read-onlyp nil
|
(defvar configuration-layer--package-properties-read-onlyp nil
|
||||||
"If non-nil then package properties are read only and cannot be overriden by
|
"If non-nil then package properties are read only and cannot be overridden by
|
||||||
`configuration-layer/make-package'.")
|
`configuration-layer/make-package'.")
|
||||||
|
|
||||||
(defvar configuration-layer--declared-layers-usedp nil
|
(defvar configuration-layer--declared-layers-usedp nil
|
||||||
|
@ -872,7 +872,7 @@ a new object."
|
||||||
(when protected
|
(when protected
|
||||||
(push pkg-name configuration-layer--protected-packages)))
|
(push pkg-name configuration-layer--protected-packages)))
|
||||||
(when ownerp
|
(when ownerp
|
||||||
;; warn about mutliple owners
|
;; warn about multiple owners
|
||||||
(when (and (oref obj :owners)
|
(when (and (oref obj :owners)
|
||||||
(not (memq layer-name (oref obj :owners))))
|
(not (memq layer-name (oref obj :owners))))
|
||||||
(configuration-layer//warning
|
(configuration-layer//warning
|
||||||
|
@ -1216,7 +1216,7 @@ USEDP if non-nil indicates that made packages are used packages."
|
||||||
obj (and (cfgl-package-get-safe-owner obj) usedp))))))))
|
obj (and (cfgl-package-get-safe-owner obj) usedp))))))))
|
||||||
|
|
||||||
(defun configuration-layer/make-packages-from-dotfile (&optional usedp)
|
(defun configuration-layer/make-packages-from-dotfile (&optional usedp)
|
||||||
"Read the additonal packages declared in the dotfile and create packages.
|
"Read the additional packages declared in the dotfile and create packages.
|
||||||
USEDP if non-nil indicates that made packages are used packages."
|
USEDP if non-nil indicates that made packages are used packages."
|
||||||
(dolist (pkg (append dotspacemacs-additional-packages
|
(dolist (pkg (append dotspacemacs-additional-packages
|
||||||
dotspacemacs--additional-theme-packages))
|
dotspacemacs--additional-theme-packages))
|
||||||
|
@ -1381,7 +1381,7 @@ Returns nil if the directory is not a category."
|
||||||
"Initialize `configuration-layer--indexed-layers' with layer directories.
|
"Initialize `configuration-layer--indexed-layers' with layer directories.
|
||||||
If REFRESH-INDEX is non-nil, the layer index is cleared before
|
If REFRESH-INDEX is non-nil, the layer index is cleared before
|
||||||
discovery."
|
discovery."
|
||||||
;; load private layers at the end on purpose we asume that the user layers
|
;; load private layers at the end on purpose we assume that the user layers
|
||||||
;; must have the final word on configuration choices. Let
|
;; must have the final word on configuration choices. Let
|
||||||
;; `dotspacemacs-directory' override the private directory if it exists.
|
;; `dotspacemacs-directory' override the private directory if it exists.
|
||||||
(when refresh-index
|
(when refresh-index
|
||||||
|
@ -2237,7 +2237,7 @@ to select one."
|
||||||
(package-activate pkg)))
|
(package-activate pkg)))
|
||||||
|
|
||||||
(defun configuration-layer//get-packages-upstream-dependencies-from-alist ()
|
(defun configuration-layer//get-packages-upstream-dependencies-from-alist ()
|
||||||
"Returns upsteam dependencies hash map for all packages in `package-alist'.
|
"Returns upstream dependencies hash map for all packages in `package-alist'.
|
||||||
The keys are package names and the values are lists of package names that
|
The keys are package names and the values are lists of package names that
|
||||||
depends on it."
|
depends on it."
|
||||||
(let ((result (make-hash-table :size 1024)))
|
(let ((result (make-hash-table :size 1024)))
|
||||||
|
|
|
@ -135,7 +135,7 @@ packages then consider to create a layer, you can also put the
|
||||||
configuration in `dotspacemacs/user-config'.")
|
configuration in `dotspacemacs/user-config'.")
|
||||||
|
|
||||||
(defvar dotspacemacs--additional-theme-packages '()
|
(defvar dotspacemacs--additional-theme-packages '()
|
||||||
"Same as `dotspacemacs-additonal-packages' but reserved for themes declared
|
"Same as `dotspacemacs-additional-packages' but reserved for themes declared
|
||||||
in `dotspacemacs-themes'.")
|
in `dotspacemacs-themes'.")
|
||||||
|
|
||||||
(defvar dotspacemacs-editing-style 'vim
|
(defvar dotspacemacs-editing-style 'vim
|
||||||
|
@ -517,7 +517,7 @@ Set the variable"
|
||||||
"Synchronize declared layers in dotfile with spacemacs.
|
"Synchronize declared layers in dotfile with spacemacs.
|
||||||
|
|
||||||
Called with `C-u' skips `dotspacemacs/user-config'.
|
Called with `C-u' skips `dotspacemacs/user-config'.
|
||||||
Called with `C-u C-u' skips `dotspacemacs/user-config' _and_ preleminary tests."
|
Called with `C-u C-u' skips `dotspacemacs/user-config' _and_ preliminary tests."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(when (file-exists-p dotspacemacs-filepath)
|
(when (file-exists-p dotspacemacs-filepath)
|
||||||
(with-current-buffer (find-file-noselect dotspacemacs-filepath)
|
(with-current-buffer (find-file-noselect dotspacemacs-filepath)
|
||||||
|
|
|
@ -61,7 +61,7 @@ Available PROPS:
|
||||||
A STRING or a SEXP that evaluates to a string.
|
A STRING or a SEXP that evaluates to a string.
|
||||||
|
|
||||||
`:use-minibuffer BOOLEAN'
|
`:use-minibuffer BOOLEAN'
|
||||||
If non nil then the minibuffer is used to display the documenation
|
If non nil then the minibuffer is used to display the documentation
|
||||||
strings. Default is nil.
|
strings. Default is nil.
|
||||||
|
|
||||||
`:disable-evil-leader BOOLEAN'
|
`:disable-evil-leader BOOLEAN'
|
||||||
|
|
|
@ -244,7 +244,7 @@ OWNER REPO."
|
||||||
(kill-buffer proc-buffer))))
|
(kill-buffer proc-buffer))))
|
||||||
|
|
||||||
(defun spacemacs//git-hard-reset-to-tag (tag)
|
(defun spacemacs//git-hard-reset-to-tag (tag)
|
||||||
"Hard reset the current branch to specifed TAG."
|
"Hard reset the current branch to specified TAG."
|
||||||
(let ((proc-buffer "git-hard-reset")
|
(let ((proc-buffer "git-hard-reset")
|
||||||
(default-directory (file-truename spacemacs-start-directory)))
|
(default-directory (file-truename spacemacs-start-directory)))
|
||||||
(prog1
|
(prog1
|
||||||
|
|
|
@ -58,7 +58,7 @@ the final step of executing code in `emacs-startup-hook'.")
|
||||||
(hidden-mode-line-mode)
|
(hidden-mode-line-mode)
|
||||||
(spacemacs//removes-gui-elements)
|
(spacemacs//removes-gui-elements)
|
||||||
(spacemacs//setup-ido-vertical-mode)
|
(spacemacs//setup-ido-vertical-mode)
|
||||||
;; explicitly set the prefered coding systems to avoid annoying prompt
|
;; explicitly set the preferred coding systems to avoid annoying prompt
|
||||||
;; from emacs (especially on Microsoft Windows)
|
;; from emacs (especially on Microsoft Windows)
|
||||||
(prefer-coding-system 'utf-8)
|
(prefer-coding-system 'utf-8)
|
||||||
;; TODO move these variables when evil is removed from the bootstrapped
|
;; TODO move these variables when evil is removed from the bootstrapped
|
||||||
|
@ -87,7 +87,7 @@ the final step of executing code in `emacs-startup-hook'.")
|
||||||
;; like `dotspacemacs/user-config`, users expect the custom settings to be the
|
;; like `dotspacemacs/user-config`, users expect the custom settings to be the
|
||||||
;; effective ones.
|
;; effective ones.
|
||||||
;; Note: Loading custom-settings twice is not ideal since they can have side
|
;; Note: Loading custom-settings twice is not ideal since they can have side
|
||||||
;; effects! Maybe an inhibit variable in Emacs can supress these side effects?
|
;; effects! Maybe an inhibit variable in Emacs can suppress these side effects?
|
||||||
(spacemacs/initialize-custom-file)
|
(spacemacs/initialize-custom-file)
|
||||||
;; Commenting the first load although it is mentioned above that we must do it
|
;; Commenting the first load although it is mentioned above that we must do it
|
||||||
;; I don't recall why we must load the custom settings twice and my experiment
|
;; I don't recall why we must load the custom settings twice and my experiment
|
||||||
|
|
|
@ -230,7 +230,7 @@ folder your file is in. You will be prompted whether you want to create a
|
||||||
repository in the folder. Select yes. You will see a list of "Untracked files":
|
repository in the folder. Select yes. You will see a list of "Untracked files":
|
||||||
navigate to the file you want to track and press s to "stage changes". You might
|
navigate to the file you want to track and press s to "stage changes". You might
|
||||||
be prompted to save the file: save it if necessary. Now the new file needs to be
|
be prompted to save the file: save it if necessary. Now the new file needs to be
|
||||||
commited: press c and c again. Two windows pop up: one showing the changes
|
committed: press c and c again. Two windows pop up: one showing the changes
|
||||||
you've made since the last edit (in this case, the whole document) and another
|
you've made since the last edit (in this case, the whole document) and another
|
||||||
prompting for a commit message. Write "Initial commit", press ESC to exit back
|
prompting for a commit message. Write "Initial commit", press ESC to exit back
|
||||||
to normal mode and press ~, c~ confirm and quit the commit
|
to normal mode and press ~, c~ confirm and quit the commit
|
||||||
|
|
|
@ -242,7 +242,7 @@ Notes:
|
||||||
upstream (major mode repository).
|
upstream (major mode repository).
|
||||||
|
|
||||||
** Errors
|
** Errors
|
||||||
Managment of errors should be put under ~SPC m E~.
|
Management of errors should be put under ~SPC m E~.
|
||||||
|
|
||||||
| Key Binding | Description |
|
| Key Binding | Description |
|
||||||
|-------------+-------------------------------------|
|
|-------------+-------------------------------------|
|
||||||
|
|
|
@ -509,7 +509,7 @@ The =shadow= operator is a binary operator accepting two layer names, it is not
|
||||||
commutative and the order of the operands is determined by the order of the
|
commutative and the order of the operands is determined by the order of the
|
||||||
layers in the dotfile (like the ownership stealing mechanism).
|
layers in the dotfile (like the ownership stealing mechanism).
|
||||||
|
|
||||||
If =:can-shadow= property is set explicity to =nil= in the dotfile then the
|
If =:can-shadow= property is set explicitly to =nil= in the dotfile then the
|
||||||
layer won't shadow any layer.
|
layer won't shadow any layer.
|
||||||
|
|
||||||
For instance to install both ivy and helm layer:
|
For instance to install both ivy and helm layer:
|
||||||
|
|
Loading…
Reference in New Issue