emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/olivetti 869221a 013/134: Removed delete-selection-mode


From: Stefan Monnier
Subject: [elpa] externals/olivetti 869221a 013/134: Removed delete-selection-mode
Date: Thu, 25 Apr 2019 09:57:18 -0400 (EDT)

branch: externals/olivetti
commit 869221ae18fa66c67625ded9020c74ee269183ff
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>

    Removed delete-selection-mode
---
 olivetti.el | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/olivetti.el b/olivetti.el
index 20667df..cc93a36 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -62,11 +62,6 @@ Can cause display issues in console mode."
   :type 'boolean
   :group 'olivetti)
 
-(defcustom olivetti-delete-selection t
-  "Turn on `delete-selection-mode'."
-  :type 'boolean
-  :group 'olivetti)
-
 ;;; Functions 
==================================================================
 
 (defun olivetti-set-mode-line (&optional arg)
@@ -128,10 +123,8 @@ hidden."
   :lighter " Olv"
   (if olivetti-mode
       (progn
-        (olivetti-set-mode-line)
-        (setq-local scroll-conservatively 101)
-        (when olivetti-delete-selection
-          (delete-selection-mode 1))
+        (if olivetti-hide-mode-line
+            (olivetti-set-mode-line))
         (add-hook 'window-configuration-change-hook
                   'olivetti-set-environment nil t)
         (run-hooks 'window-configuration-change-hook))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]