mirror of
https://github.com/SqrtMinusOne/reverso.el.git
synced 2025-12-10 15:53:02 +03:00
Add warning to reverso-history
This commit is contained in:
parent
2945bb4b68
commit
d0c69ae8e7
1 changed files with 3 additions and 0 deletions
|
|
@ -1240,6 +1240,9 @@ OP, DATA and PARAMS are as described in `reverso--operation-hook'."
|
||||||
|
|
||||||
Enable `reverso-history-mode' to record history."
|
Enable `reverso-history-mode' to record history."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
(when (and (seq-empty-p reverso--history)
|
||||||
|
(not reverso-history-mode))
|
||||||
|
(user-error "Enable `reverso-history-mode' to record history"))
|
||||||
(reverso--with-buffer
|
(reverso--with-buffer
|
||||||
(insert
|
(insert
|
||||||
(format
|
(format
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue