- }
- set_install_path (find_xemacs_exe_path(), issystem);
- }
- // Register file types
- if (batname)
- {
- if (reg_java)
- {
- log (0, "Registering .java files");
- setup_explorer ("java", "Java Source file", batname);
- setup_explorer ("jav", "Java Source file", batname);
- }
- if (reg_cpp)
- {
- log (0, "Registering .cpp files");
- setup_explorer ("cpp", "C++ Source file", batname);
- setup_explorer ("cc", "C++ Source file", batname);
- setup_explorer ("hh", "C++ Header file", batname);
- }
- if (reg_c)
- {
- log (0, "Registering .c files");
- setup_explorer ("c", "C Source file", batname);
- setup_explorer ("h", "C Header file", batname);
- }
- if (reg_elisp)
- {
- log (0, "Registering .el files");
- setup_explorer ("el", "E-Lisp Source file", batname);
- }
- if (reg_txt)
- {
- log (0, "Registering .txt files");
- setup_explorer ("txt", "Text file", batname);
- }
- if (reg_idl)
- {
- log (0, "Registering .idl files");
- setup_explorer ("idl", "OMG IDL file", batname);
- }