Sfoglia il codice sorgente

emacs.el: reload-init-file: Reload init file only if available

pull/1/head
10sr 10 anni fa
parent
commit
c32b594244
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      emacs.el

+ 3
- 1
emacs.el Vedi File

@@ -301,7 +301,8 @@ found, otherwise returns nil."
(defun reload-init-file ()
"Reload Emacs init file."
(interactive)
(when (file-readable-p user-init-file)
(when (and user-init-file
(file-readable-p user-init-file))
(load-file user-init-file)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -871,6 +872,7 @@ found, otherwise returns nil."
;; (< emacs-major-version 24)
(fetch-library "http://www.emacswiki.org/emacs/download/xclip.el" t)
(require 'xclip nil t)
nil
(turn-on-xclip))

(and (eq system-type 'darwin)


Caricamento…
Annulla
Salva