# HG changeset patch # User Glenn Morris # Date 1196225718 0 # Node ID 1f32aa6d8ea758866395e1741bb244d10378ad7e # Parent f33f3cb72cfc1eca948bcdadf62686335e9f79a7 (top-level): Adapt for moved unicode files. diff -r f33f3cb72cfc -r 1f32aa6d8ea7 lisp/nxml/nxml-uchnm.el --- a/lisp/nxml/nxml-uchnm.el Wed Nov 28 04:52:59 2007 +0000 +++ b/lisp/nxml/nxml-uchnm.el Wed Nov 28 04:55:18 2007 +0000 @@ -203,17 +203,15 @@ mathematical-alphanumeric-symbols) "Default value for `nxml-enabled-unicode-blocks'.") -(let ((dir (file-name-directory load-file-name))) - (mapc (lambda (block) - (let ((sym (nxml-unicode-block-char-name-set (car block)))) - (nxml-autoload-char-name-set - sym - (expand-file-name - (format "char-name/unicode/%05X-%05X" - (nth 1 block) - (nth 2 block)) - dir)))) - nxml-unicode-blocks)) +(mapc (lambda (block) + (nxml-autoload-char-name-set + (nxml-unicode-block-char-name-set (car block)) + (expand-file-name + (format "nxml/%05X-%05X" + (nth 1 block) + (nth 2 block)) + data-directory))) + nxml-unicode-blocks) (defvar nxml-enable-unicode-char-name-sets-flag nil)