From b436d4ee9bea6bf408b58df9223e27bf3aedf2f6 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Fri, 27 Aug 1999 11:47:04 +0000 Subject: [PATCH] (char-before, char-after): Optimize byte code for them before lpath.el is loaded. Because lpath.el requires `poe' via `path-util'. [cf. ] --- lisp/dgnushack.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el index e4d9d85..66eb7d1 100644 --- a/lisp/dgnushack.el +++ b/lisp/dgnushack.el @@ -58,7 +58,6 @@ (error (message "Error in \"~/.lpath.el\" file: %s" err))) (push "." load-path) -(load "./lpath.el" nil t) (condition-case nil (char-after) @@ -80,6 +79,10 @@ '(char-before (point)) form)))) +;; `char-after' and `char-before' must be well-behaved before lpath.el +;; is loaded. Because it requires `poe' via `path-util'. +(load "./lpath.el" nil t) + (unless (fboundp 'byte-compile-file-form-custom-declare-variable) ;; Bind defcustom'ed variables. (put 'custom-declare-variable 'byte-hunk-handler -- 1.7.10.4