wok-current annotate emacs/stuff/site-start.el @ rev 19731
emacs: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 11:39:45 2017 +0100 (2017-02-17) |
parents | |
children |
rev | line source |
---|---|
llevrel@18794 | 1 ;; site-start.el for SliTaz -*- no-byte-compile: t -*- |
llevrel@18794 | 2 ;; |
llevrel@18794 | 3 ;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009. |
llevrel@18794 | 4 ;; |
llevrel@18794 | 5 ;; Default site startup file for Emacs. You may modify this file, replace it by |
llevrel@18794 | 6 ;; your own site initialisation, or even remove it completely. |
llevrel@18794 | 7 ;; |
llevrel@18794 | 8 ;; Load package startups in this site-start.d folder |
llevrel@18794 | 9 (if (file-accessible-directory-p "/usr/share/emacs/site-lisp/site-start.d") |
llevrel@18794 | 10 (let ((dir (directory-files "/usr/share/emacs/site-lisp/site-start.d/" t |
llevrel@18794 | 11 ".\\.el$"))) |
llevrel@18794 | 12 (while dir (load (car dir) nil t t) (setq dir (cdr dir))))) |