.emacs-my
changeset 1724 35c96420cf54
parent 1723 6533fa2834cf
child 1725 ce379e248565
--- a/.emacs-my	Sun Jan 31 20:35:05 2021 +0200
+++ b/.emacs-my	Wed Feb 03 12:32:49 2021 +0200
@@ -944,7 +944,7 @@
   (setq x-select-enable-clipboard t))
 
 (when (fboundp 'er/expand-region)
-  (global-set-key (kbd "s-=") 'er/expand-region))
+  (global-set-key (kbd "s-w") 'er/expand-region))
 
 (defun my-mark-line ()
   "Mark current line."
@@ -1664,6 +1664,8 @@
           (insert ?\ ))
         (insert result)))))
 
+(global-set-key (kbd "s-=") #'my-calc-line)
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "rst, reStructuredText")