Skip to content

Commit f27fce1

Browse files
committed
hydra.el: Bump version
* doc/Changelog.org: Add.
1 parent acb6985 commit f27fce1

File tree

2 files changed

+70
-1
lines changed

2 files changed

+70
-1
lines changed

doc/Changelog.org

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
* 0.15.0
2+
** New Features
3+
4+
*** defhydra
5+
6+
**** New :base-map option in body plist
7+
In case your hydra conficts with el:hydra-base-map, you can now override it.
8+
9+
Example:
10+
#+begin_src elisp
11+
(defhydra hydra-numbers (:base-map (make-sparse-keymap))
12+
"test"
13+
("0" (message "zero"))
14+
("1" (message "one")))
15+
#+end_src
16+
See [[https://github.com/abo-abo/hydra/issues/285][#285]].
17+
18+
**** Make no docstring equivalent to :hint nil
19+
Example:
20+
#+begin_src elisp
21+
(defhydra hydra-clock (:color blue)
22+
("q" nil "quit" :column "Clock")
23+
("c" org-clock-cancel "cancel" :color pink :column "Do")
24+
("d" org-clock-display "display")
25+
("e" org-clock-modify-effort-estimate "effort")
26+
("i" org-clock-in "in")
27+
("j" org-clock-goto "jump")
28+
("o" org-clock-out "out")
29+
("r" org-clock-report "report"))
30+
#+end_src
31+
See [[https://github.com/abo-abo/hydra/issues/291][#291]].
32+
33+
**** Declare /params and /docstring
34+
See [[https://github.com/abo-abo/hydra/issues/185][#185]].
35+
36+
**** Sexp hints are now supported for :columns
37+
Example
38+
#+begin_src elisp
39+
(defhydra hydra-test ()
40+
"Test"
41+
("j" next-line (format-time-string "%H:%M:%S" (current-time)) :column "One")
42+
("k" previous-line (format-time-string "%H:%M:%S" (current-time)))
43+
("l" backward-char "back" :column "Two"))
44+
#+end_src
45+
See [[https://github.com/abo-abo/hydra/issues/311][#311]].
46+
47+
48+
*** defhydra+
49+
New macro. Allows to add heads to an existing hydra.
50+
51+
Example:
52+
#+begin_src elisp
53+
(defhydra hydra-extendable ()
54+
"extendable"
55+
("j" next-line "down"))
56+
57+
(defhydra+ hydra-extendable ()
58+
("k" previous-line "up"))
59+
#+end_src
60+
See [[https://github.com/abo-abo/hydra/issues/185][#185]].
61+
62+
*** el:hydra-hint-display-type
63+
Customize what to use to display the hint:
64+
- el:message
65+
- el:lv-message
66+
- posframe
67+
68+
el:hydra-lv is now obsolete.
69+
See [[https://github.com/abo-abo/hydra/issues/317][#317]].

hydra.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: Oleh Krehel <[email protected]>
66
;; Maintainer: Oleh Krehel <[email protected]>
77
;; URL: https://github.com/abo-abo/hydra
8-
;; Version: 0.14.0
8+
;; Version: 0.15.0
99
;; Keywords: bindings
1010
;; Package-Requires: ((cl-lib "0.5") (lv "0"))
1111

0 commit comments

Comments
 (0)