Sfoglia il codice sorgente

Push mark when not set yet

master
10sr 4 anni fa
parent
commit
2f9a30d1d1
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. +4
    -3
      emacs.el

+ 4
- 3
emacs.el Vedi File

@@ -534,9 +534,10 @@ Otherwize hook it."
;; (when (fboundp 'visible-mark-move-overlays)
;; (visible-mark-move-overlays))
))
(add-hook 'find-file-hook
'push-mark
t)
(add-hook 'switch-buffer-functions
(lambda (&rest _)
(unless (mark t)
(push-mark))))

(when (fboundp 'back-button-mode)
(back-button-mode 1))


Caricamento…
Annulla
Salva