Fix bug in :straight calls

Don't use :files in calls to :straight, and I like
This commit is contained in:
Howard Abrams 2021-12-27 09:27:25 -08:00
parent c9df765b19
commit 9ba17b5c20
3 changed files with 18 additions and 17 deletions

View file

@ -60,9 +60,10 @@ Rewriting my shell scripts in Emacs Lisp uses my [[https://gitlab.com/howardabra
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package piper (use-package piper
:straight (:type git :protocol ssh :host gitlab :repo "howardabrams/emacs-piper") :straight (:type git :protocol ssh :host gitlab :repo "howardabrams/emacs-piper")
:commands shell-command-to-list ; I use this function quite a bit :commands piper shell-command-to-list ; I use this function quite a bit
:bind (:map evil-normal-state-map :bind (:map evil-normal-state-map
("|" . piper-user-interface))) ("C-M-|" . piper)
("C-|" . piper-user-interface)))
#+END_SRC #+END_SRC
** Yet Another Snippet System (YASnippets) ** Yet Another Snippet System (YASnippets)
Using [[https://github.com/joaotavora/yasnippet][yasnippet]] to convert templates into text: Using [[https://github.com/joaotavora/yasnippet][yasnippet]] to convert templates into text:
@ -79,7 +80,7 @@ Seems the best [[https://github.com/hlissner/doom-snippets][collection of snippe
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package doom-snippets (use-package doom-snippets
:after yasnippet :after yasnippet
:straight (doom-snippets :type git :host github :repo "hlissner/doom-snippets" :files ("*.el" "*"))) :straight (:type git :protocol ssh :host github :repo "hlissner/doom-snippets"))
#+END_SRC #+END_SRC
*Note:* Including his snippets also includes some [[https://github.com/hlissner/doom-snippets#snippets-api][helper functions]] and other features. *Note:* Including his snippets also includes some [[https://github.com/hlissner/doom-snippets#snippets-api][helper functions]] and other features.
** Auto Insert Templates ** Auto Insert Templates

View file

@ -61,7 +61,8 @@ Next, we just need to change the header sizes:
Now that headers are noticeable, I have no reason to see a number of asterisks. Once I used the [[https://github.com/sabof/org-bullets][org-bullets]] package, but believe we've replaced it with [[https://github.com/integral-dw/org-superstar-mode][org-superstar-mode]], so the following is an improvement, especially with the sub-bullets: Now that headers are noticeable, I have no reason to see a number of asterisks. Once I used the [[https://github.com/sabof/org-bullets][org-bullets]] package, but believe we've replaced it with [[https://github.com/integral-dw/org-superstar-mode][org-superstar-mode]], so the following is an improvement, especially with the sub-bullets:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package org-superstar (use-package org-superstar
:straight (:type git :protocol ssh :host github :repo "integral-dw/org-superstar-mode")
:init :init
(setq org-superstar-headline-bullets-list '("▶") (setq org-superstar-headline-bullets-list '("▶")
org-superstar-special-todo-items nil org-superstar-special-todo-items nil
@ -132,7 +133,7 @@ The [[https://github.com/TonCherAmi/org-padding][org-padding]] project looks pla
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package org-padding (use-package org-padding
:straight (org-padding :type git :host github :repo "TonCherAmi/org-padding") :straight (:type git :protocol ssh :host github :repo "TonCherAmi/org-padding")
:hook :hook
(org-mode . org-padding-mode) (org-mode . org-padding-mode)
:config :config

View file

@ -27,8 +27,7 @@ Org is a /large/ complex beast with a gazillion settings, so I discuss these lat
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package org (use-package org
:straight (:type built-in) ; Problems with the 9.4.4 version :straight (:type built-in) ; Problems with the 9.4.4 version
;; :straight (:type git :protocol ssh :repo ;; :straight (:type git :protocol ssh :repo "git://git.sv.gnu.org/emacs/org-mode.git")
;; "git://git.sv.gnu.org/emacs/org-mode.git")
:mode ("\\.org" . org-mode) ; Addresses an odd warning :mode ("\\.org" . org-mode) ; Addresses an odd warning
:init :init
<<variables>> <<variables>>
@ -360,7 +359,7 @@ I have a special version of tweaked [[file:elisp/ox-confluence.el][Confluence ex
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ox-confluence (use-package ox-confluence
:after org :after org
:straight nil :straight nil ; Located in my "elisp" directory
:config :config
(ha-org-leader (ha-org-leader
"E" '("to confluence" . ox-export-to-confluence))) "E" '("to confluence" . ox-export-to-confluence)))