You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emacs/initsplit/files/51initsplit-gentoo.el

17 lines
521 B

;;; initsplit site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'initsplit-split-user-init-file "initsplit")
(autoload 'initsplit-byte-compile-files "initsplit")
;; Avoid clobbering the kill ring
;; (see http://www.emacswiki.org/cgi-bin/wiki?InitSplit)
(defadvice initsplit-split-customizations (around do-the-initsplit act)
"Don't clobber the `kill-ring' when writing customizations."
(let ((orig-kill-ring kill-ring))
(unwind-protect
ad-do-it
(setq kill-ring orig-kill-ring))))