[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/setup a6ef318 4/5: Fix indentation in example section
From: |
Stefan Monnier |
Subject: |
[elpa] externals/setup a6ef318 4/5: Fix indentation in example section |
Date: |
Tue, 16 Mar 2021 09:45:34 -0400 (EDT) |
branch: externals/setup
commit a6ef31868a664ae4c72e9ec2af20e583437df4c7
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Philip K <philipk@posteo.net>
Fix indentation in example section
---
README.md | 8 ++------
setup.el | 6 ++----
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 22e238a..f1f5546 100644
--- a/README.md
+++ b/README.md
@@ -10,12 +10,10 @@ example, these macros:
(:global (key shell))
(:bind (key bury-buffer))))
-
(setup (:package paredit)
(:hide-mode)
(:hook-into scheme-mode lisp-mode))
-
(setup (:package yasnippet)
(:with-mode yas-minor-mode
(:rebind "<backtab>" yas-expand)
@@ -31,7 +29,6 @@ will be replaced with the functional equivalent of
(with-eval-after-load 'shell
(define-key shell-mode-map (kbd "C-c s") #'bury-buffer))
-
(unless (package-install-p 'paredit)
(package-install 'paredit))
(delq (assq 'paredit-mode minor-mode-alist)
@@ -39,15 +36,14 @@ will be replaced with the functional equivalent of
(add-hook 'scheme-mode-hook #'paredit-mode)
(add-hook 'lisp-mode-hook #'paredit-mode)
-
(unless (package-install-p 'yasnippet)
(package-install 'yasnippet))
(with-eval-after-load 'yasnippet
(dolist (key (where-is-internal 'yas-expand yas-minor-mode-map))
(define-key yas-minor-mode-map key nil))
(define-key yas-minor-mode-map "<backtab>" #'yas-expand)
- (customize-set-variable 'yas-prompt-functions '(yas-completing-prompt))
- (customize-set-variable 'yas-wrap-around-region t))
+(customize-set-variable 'yas-prompt-functions '(yas-completing-prompt))
+(customize-set-variable 'yas-wrap-around-region t))
(add-hook 'prog-mode-hook #'yas-minor-mode)
~~~
diff --git a/setup.el b/setup.el
index 3bb49ac..da47b28 100644
--- a/setup.el
+++ b/setup.el
@@ -31,7 +31,6 @@
;; (:global key shell)
;; (:bind key bury-buffer)))
;;
-;;
;; (setup (:package paredit)
;; (:hide-mode)
;; (:hook-into scheme-mode lisp-mode))
@@ -49,7 +48,6 @@
;; (with-eval-after-load 'shell
;; (define-key shell-mode-map (kbd "C-c s") #'bury-buffer))
;;
-;;
;; (unless (package-install-p 'paredit)
;; (package-install 'paredit ))
;; (delq (assq 'paredit-mode minor-mode-alist)
@@ -63,8 +61,8 @@
;; (dolist (key (where-is-internal 'yas-expand yas-minor-mode-map))
;; (define-key yas-minor-mode-map key nil))
;; (define-key yas-minor-mode-map "<backtab>" #'yas-expand)
-;; (customize-set-variable 'yas-prompt-functions '(yas-completing-prompt))
-;; (customize-set-variable 'yas-wrap-around-region t))
+;; (customize-set-variable 'yas-prompt-functions '(yas-completing-prompt))
+;; (customize-set-variable 'yas-wrap-around-region t))
;; (add-hook 'prog-mode-hook #'yas-minor-mode)