aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.org')
-rw-r--r--.emacs.d/init.org46
1 files changed, 23 insertions, 23 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index bf950f4..a5c2c04 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -2250,7 +2250,7 @@ usings tabs for indentation (C, C++ and Go).
** Web-related stuff.
-Slim and SCSS.
+Slim, SCSS and such shenanigans...
#+BEGIN_SRC elisp
(use-package slim-mode
@@ -2345,6 +2345,8 @@ Stuff from Hashicorp like terraform and HCL.
:ensure t)
#+END_SRC
+Yeah, I've been on the salty road...
+
#+BEGIN_SRC elisp
(use-package salt-mode
:ensure t)
@@ -2430,32 +2432,30 @@ too many things into my leader and these shortcuts look sensible to me).
** Screencast
Some utilities when recording my GNU Emacs adventures. First of all, =keycast=
-shows the keys being pressed in the mode line (it requires GNU Emacs 25.3
-minimum):
+shows the keys being pressed in the mode line (it requires GNU Emacs 25.1
+minimum). Moreover, we have =gif-screencast=, which allows you to record your
+GNU Emacs activity and saves it into a gif (unless you have specified the
+=XDG_VIDEOS_DIR=, it will use =~/Videos/emacs/<name>.gif=). Sadly, though,
+=keycast= requires GNU Emacs 25.1 or above, and =gif-keycast= requires GNU Emacs
+26.1 or above:
#+BEGIN_SRC elisp
-(use-package keycast
- :ensure t
- :unless (version< emacs-version "25.3"))
-#+END_SRC
+(unless (version< emacs-version "25.1")
+ (use-package keycast
+ :ensure t))
-Second of all, we have =gif-screencast=, which allows you to record your GNU
-Emacs activity and saves it into a gif (unless you have specified the
-=XDG_VIDEOS_DIR=, it will use =~/Videos/emacs/<name>.gif=):
-
-#+BEGIN_SRC elisp
-(use-package gif-screencast
- :unless (version< emacs-version "25.3")
- :ensure t
- :config
- (with-eval-after-load 'gif-screencast
- (define-key gif-screencast-mode-map (kbd "<f8>") 'gif-screencast-toggle-pause)
- (define-key gif-screencast-mode-map (kbd "<f9>") 'gif-screencast-stop))
+(unless (version< emacs-version "26.1")
+ (use-package gif-screencast
+ :ensure t
+ :config
+ (with-eval-after-load 'gif-screencast
+ (define-key gif-screencast-mode-map (kbd "<f8>") 'gif-screencast-toggle-pause)
+ (define-key gif-screencast-mode-map (kbd "<f9>") 'gif-screencast-stop))
- (global-set-key (kbd "<f7>") 'mssola-screencast))
+ (global-set-key (kbd "<f7>") 'mssola-screencast)))
#+END_SRC
-And last but not least, I use a wrapper to start a screencast:
+Last but not least, I use a wrapper to start a screencast:
#+BEGIN_SRC elisp
(defun mssola-screencast ()
@@ -2463,8 +2463,8 @@ And last but not least, I use a wrapper to start a screencast:
(interactive)
- (if (version< emacs-version "25.3")
- (message "Requires 25.3 or later.")
+ (if (version< emacs-version "26.1")
+ (message "Requires 26.1 or later.")
(progn
(keycast-mode)
(gif-screencast))))