[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can we add a function which is used to returned immediately within an so
Can we add a function which is used to returned immediately within an source file for lib?
Wed, 10 Sep 2008 20:15:30 +0800
Can we add a function or extend (return t) to skip loading the rest of
Eg, my ~/.emacs
(defun byte-compile-file-if-newer (src)
(let ((result (concat src ".elc")))
(when (file-newer-than-file-p src result)
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(mouse-avoidance-mode (quote exile) nil (avoid)))
For now, there is now way to support skip the rest of ~/.emacs after
As It's already discussed.
So, I make long history short
Can we have a function or exend (return t) function for skip loading
of reset of ~/.emacs after we load the compiled version of ~/.emacs?
(if (byte-compile-file-if-newer src-file)
If you really want to see the reason, It's ok, I'll explain them again.
I don't mean to flood across several lists, At last, according to
asking within #emacs and my understanding, I think emacs-devel should
be the right place for a feature request on elisp language itself.
- Can we add a function which is used to returned immediately within an source file for lib?,
Yiyi Hu <=