diff --git a/module2/ressources/rr_org/init.el b/module2/ressources/rr_org/init.el index ec1338172bd9a8d2d2799223157328908529355a..de9ecce56c428f778b6d962cb1f9e77d1a1f78c9 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 36c4884baca1342c93e5a68865fc37d95ddbc82c..e1877bee77b4bcb940c5789b6642c608b881ed42 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)))