Source

texinfo / texnfo-tex.el

Diff from to

texnfo-tex.el

                           texinfo-tex-temp-file t nil)))
         (set-process-sentinel (get-process "texinfo-tex-shell") 
                               'texinfo-tex-shell-sentinel)
-        (send-string "texinfo-tex-shell"
+        (process-send-string "texinfo-tex-shell"
                      (concat texinfo-tex-shell-cd-command " "
                              default-directory "\n"))
-        (send-string "texinfo-tex-shell"
+        (process-send-string "texinfo-tex-shell"
                      (concat texinfo-tex-command " "
                              texinfo-tex-temp-file "\n  "))
         (texinfo-recenter-tex-output-buffer 0)))))
          (error "Buffer has been modified since last saved!"))
         (t (set-process-sentinel (get-process "texinfo-tex-shell") 
                                  'texinfo-tex-shell-sentinel)
-           (send-string "texinfo-tex-shell"
+           (process-send-string "texinfo-tex-shell"
                         (concat texinfo-tex-shell-cd-command 
                                 " "
                                 (file-name-directory
                                  (buffer-file-name
                                   (get-buffer buffer)))
                                 "\n"))
-           (send-string "texinfo-tex-shell"
+           (process-send-string "texinfo-tex-shell"
                         (concat texinfo-tex-command " " buffer "\n  "))
            
            ;; so the texinfo-tex-print command works
 The index files are made by \\[texinfo-tex-region] or \\[texinfo-tex-buffer].
 Runs the shell command defined by texinfo-texindex-command."
   (interactive)
-  (send-string "texinfo-tex-shell"
+  (process-send-string "texinfo-tex-shell"
                (concat texinfo-texindex-command
                        " " texinfo-tex-root-temp-file ".??" "\n"))
   (texinfo-recenter-tex-output-buffer nil))
   "Print .dvi file made by \\[texinfo-tex-region] or \\[texinfo-tex-buffer].
 Runs the shell command defined by texinfo-tex-dvi-print-command."
   (interactive)
-  (send-string "texinfo-tex-shell"
+  (process-send-string "texinfo-tex-shell"
                (concat texinfo-tex-dvi-print-command
                        " " texinfo-tex-root-temp-file ".dvi" "\n"))
   (texinfo-recenter-tex-output-buffer nil))
   (interactive)
   (if (not (texinfo-tex-shell-running-p))
       (texinfo-tex-start-shell))
-  (send-string "texinfo-tex-shell"
+  (process-send-string "texinfo-tex-shell"
                (concat texinfo-show-tex-queue-command "\n"))
   (texinfo-recenter-tex-output-buffer nil))
 
   (if (texinfo-tex-shell-running-p)
       (texinfo-kill-tex-job)
     (texinfo-tex-start-shell))
-  (send-string "texinfo-tex-shell"
+  (process-send-string "texinfo-tex-shell"
                (concat 
                 texinfo-delete-from-print-queue-command
                 " "