|
|
|
@ -280,6 +280,11 @@ The body of the advice is in BODY." |
|
|
|
(browse-kill-ring-default-keybindings) |
|
|
|
(global-set-key (kbd "s-y") 'browse-kill-ring) |
|
|
|
|
|
|
|
(defadvice exchange-point-and-mark (before deactivate-mark activate compile) |
|
|
|
"When called with no active region, do not activate mark." |
|
|
|
(interactive |
|
|
|
(list (not (region-active-p))))) |
|
|
|
|
|
|
|
;; automatically indenting yanked text if in programming-modes |
|
|
|
(defvar yank-indent-modes |
|
|
|
'(LaTeX-mode TeX-mode) |
|
|
|
|