branch: externals/olivetti
commit bb2e0cfc1e78d09a6199ef8f0139e9b85b4cb879
Author: Paul Rankin <he...@paulwrankin.com>
Commit: Paul Rankin <he...@paulwrankin.com>

    set-temporary-overlay-map -> set-transient-map
---
 olivetti.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/olivetti.el b/olivetti.el
index af78486..d2b7d66 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -254,7 +254,7 @@ If prefixed with ARG, incrementally decrease."
     (setq olivetti-body-width (olivetti-safe-width n)))
   (olivetti-set-environment)
   (message "Text body width set to %s" olivetti-body-width)
-  (set-temporary-overlay-map
+  (set-transient-map
    (let ((map (make-sparse-keymap)))
      (define-key map "]" 'olivetti-expand)
      (define-key map "[" 'olivetti-shrink) map)))

Reply via email to