Bladeren bron

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

pull/1/head
10sr 9 jaren geleden
bovenliggende
commit
c32b594244
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. +3
    -1
      emacs.el

+ 3
- 1
emacs.el Bestand weergeven

@@ -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)


Laden…
Annuleren
Opslaan