From 6c7dc12e6cf0ee1c448ca04713adcbe3d0b87834 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Tue, 24 Jul 2018 18:36:06 +0200 Subject: [PATCH] This configuration is too specific and should not appear there. --- module2/ressources/rr_org/init.el | 17 ----------------- module2/ressources/rr_org/init.org | 4 ++-- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/module2/ressources/rr_org/init.el b/module2/ressources/rr_org/init.el index ec13381..de9ecce 100644 --- a/module2/ressources/rr_org/init.el +++ b/module2/ressources/rr_org/init.el @@ -33,23 +33,6 @@ (cua-mode t) -(defun jump-mark () - (interactive) - (set-mark-command (point))) -(defun beginning-of-defun-and-mark () - (interactive) - (push-mark (point)) - (beginning-of-defun)) -(defun end-of-defun-and-mark () - (interactive) - (push-mark (point)) - (end-of-defun)) - -(global-set-key "\^c\^b" 'beginning-of-defun-and-mark) -(global-set-key "\^c\^e" 'end-of-defun-and-mark) -(global-set-key "\^c\^j" 'jump-mark) -(global-set-key [S-f6] 'jump-mark) ;; jump from mark to mark - (global-set-key "\M-g" 'goto-line) (global-set-key (kbd "C-+") 'text-scale-increase) diff --git a/module2/ressources/rr_org/init.org b/module2/ressources/rr_org/init.org index 36c4884..e1877be 100644 --- a/module2/ressources/rr_org/init.org +++ b/module2/ressources/rr_org/init.org @@ -88,8 +88,8 @@ my other shortcuts (e.g., the ones for spelling a region). #+begin_src emacs-lisp :tangle init.el (cua-mode t) #+end_src -** Navigate back in text :ARNAUD: -#+begin_src emacs-lisp :tangle init.el +** Navigate back in text :ARNAUD:noexport: +#+begin_src emacs-lisp (defun jump-mark () (interactive) (set-mark-command (point))) -- 2.18.1