acs> I see that starting with b54, the variable source-directory
acs> has been removed. I used to use it to find the origin of the
acs> XEmacs source tree, more specifically, the place I could find
acs> the TAGS file. I found this generally useful when I was
acs> browsing either my own customizations or the XEmacs source.
acs> What follows is how I used to do this; I'm sure there's
acs> another way to do this - can anyone offer any suggestions?
Hello Vin,
this should work:
(require 'config)
(setq xemacs-source-directory
(gethash 'blddir (config-value-hash-table)))
(setq tag-table-alist
'(("\\.emacs$" . xemacs-source-directory)
("/lisp" . xemacs-source-directory)
((progn
(condition-case nil
(or
(string-match xemacs-source-directory (buffer-file-name))
nil)
(error nil))) . xemacs-source-directory)))
Good Luck,
Adrian
acs> Thanks in advance, vin
--
Adrian Aichner
Applications Engineer
Teradyne GmbH
Semiconductor Test Group Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217
D-81673 MUENCHEN E-mail aichner(a)ecf.teradyne.com
Show replies by date