VM

Bug in vm-mime.el

Asked by Jeff K

In the following function in the last line, 'nil t' cannot be arguments to 'concat'
This is a residue from an earlier version when there was no concat.
Solution is to delete 'nil t'

(defun vm-mime-display-internal-lynx-text/html (start end layout)
  (shell-command-on-region
   start (1- end)
   ;; (concat vm-lynx-program " -force_html /dev/stdin" )
   (concat vm-lynx-program " -force_html -dump -pseudo_inlines -stdin"
           nil t)))

Question information

Language:
English Edit question
Status:
Solved
For:
VM Edit question
Assignee:
No assignee Edit question
Solved by:
Jeff K
Solved:
Last query:
Last reply:
Revision history for this message
Jeff K (kosowsky) said :
#1

Actually, don't delete the 'nil t', just pull it out of the concat:

 (defun vm-mime-display-internal-lynx-text/html (start end layout)
   (shell-command-on-region
    start (1- end)
    ;; (concat vm-lynx-program " -force_html /dev/stdin" )
    (concat vm-lynx-program " -force_html -dump -pseudo_inlines -stdin")
            nil t))