diff options
| author | Dan Nicolaescu | 2008-07-31 05:33:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-31 05:33:56 +0000 |
| commit | 7c2fb837ec2f0e0a509f22ccc35f9b43476a6119 (patch) | |
| tree | 7ec796ef1f109e43c8be2cc8cfb8dc579cfa8033 /src/doc.c | |
| parent | 69ab3201ca6f6ef1414d678fd9cb13dd4d6f6b95 (diff) | |
| download | emacs-7c2fb837ec2f0e0a509f22ccc35f9b43476a6119.tar.gz emacs-7c2fb837ec2f0e0a509f22ccc35f9b43476a6119.zip | |
* bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.
* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.
* message.el (Module):
* gnus-start.el (Module):
* gnus-registry.el (Module):
* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.
* etags.c:
* emacsclient.c: Remove VMS support.
* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.
* ediff.texi: Remove VMS support.
* os.texi:
* intro.texi:
* files.texi: Remove VMS support.
* emacs.texi: Remove VMS support.
* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 25 |
1 files changed, 0 insertions, 25 deletions
| @@ -58,28 +58,6 @@ extern Lisp_Object Voverriding_local_map; | |||
| 58 | 58 | ||
| 59 | extern Lisp_Object Qremap; | 59 | extern Lisp_Object Qremap; |
| 60 | 60 | ||
| 61 | /* For VMS versions with limited file name syntax, | ||
| 62 | convert the name to something VMS will allow. */ | ||
| 63 | static void | ||
| 64 | munge_doc_file_name (name) | ||
| 65 | char *name; | ||
| 66 | { | ||
| 67 | #ifdef VMS | ||
| 68 | #ifndef NO_HYPHENS_IN_FILENAMES | ||
| 69 | extern char * sys_translate_unix (char *ufile); | ||
| 70 | strcpy (name, sys_translate_unix (name)); | ||
| 71 | #else /* NO_HYPHENS_IN_FILENAMES */ | ||
| 72 | char *p = name; | ||
| 73 | while (*p) | ||
| 74 | { | ||
| 75 | if (*p == '-') | ||
| 76 | *p = '_'; | ||
| 77 | p++; | ||
| 78 | } | ||
| 79 | #endif /* NO_HYPHENS_IN_FILENAMES */ | ||
| 80 | #endif /* VMS */ | ||
| 81 | } | ||
| 82 | |||
| 83 | /* Buffer used for reading from documentation file. */ | 61 | /* Buffer used for reading from documentation file. */ |
| 84 | static char *get_doc_string_buffer; | 62 | static char *get_doc_string_buffer; |
| 85 | static int get_doc_string_buffer_size; | 63 | static int get_doc_string_buffer_size; |
| @@ -169,7 +147,6 @@ get_doc_string (filepos, unibyte, definition) | |||
| 169 | name = (char *) alloca (minsize + SCHARS (file) + 8); | 147 | name = (char *) alloca (minsize + SCHARS (file) + 8); |
| 170 | strcpy (name, SDATA (Vdoc_directory)); | 148 | strcpy (name, SDATA (Vdoc_directory)); |
| 171 | strcat (name, SDATA (file)); | 149 | strcat (name, SDATA (file)); |
| 172 | munge_doc_file_name (name); | ||
| 173 | } | 150 | } |
| 174 | else | 151 | else |
| 175 | { | 152 | { |
| @@ -186,7 +163,6 @@ get_doc_string (filepos, unibyte, definition) | |||
| 186 | So check in ../etc. */ | 163 | So check in ../etc. */ |
| 187 | strcpy (name, "../etc/"); | 164 | strcpy (name, "../etc/"); |
| 188 | strcat (name, SDATA (file)); | 165 | strcat (name, SDATA (file)); |
| 189 | munge_doc_file_name (name); | ||
| 190 | 166 | ||
| 191 | fd = emacs_open (name, O_RDONLY, 0); | 167 | fd = emacs_open (name, O_RDONLY, 0); |
| 192 | } | 168 | } |
| @@ -618,7 +594,6 @@ the same file name is found in the `doc-directory'. */) | |||
| 618 | strcpy (name, SDATA (Vdoc_directory)); | 594 | strcpy (name, SDATA (Vdoc_directory)); |
| 619 | } | 595 | } |
| 620 | strcat (name, SDATA (filename)); /*** Add this line ***/ | 596 | strcat (name, SDATA (filename)); /*** Add this line ***/ |
| 621 | munge_doc_file_name (name); | ||
| 622 | 597 | ||
| 623 | /* Vbuild_files is nil when temacs is run, and non-nil after that. */ | 598 | /* Vbuild_files is nil when temacs is run, and non-nil after that. */ |
| 624 | if (NILP (Vbuild_files)) | 599 | if (NILP (Vbuild_files)) |