Sfoglia il codice sorgente

Add falesafe to recently-write

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

+ 2
- 0
emacs.el Vedi File

@@ -1871,6 +1871,8 @@ This mode is a simplified version of `adoc-mode'."

(defun recently-write ()
"Write to file."
;; Failsafe to avoid purging all existing entries
(assert recently-list)
(with-temp-buffer
(prin1 recently-list
(current-buffer))


Caricamento…
Annulla
Salva