Hi again! In org-latex.el, function org-export-as-pdf is said to "automatically add -shell-escape when needed", and apparently it does.
The org-export-latex-listings variable says: "In addition, it is necessary to install pygments (http://pygments.org), and to configure the variable `org-latex-to-pdf-process' so that the -shell-escape option is passed to pdflatex." The last part of this statement is likely superfluous because of org-export-as-pdf, isn't it? If yes, let me suggest it is removed, so we are relieved from configuring the edition of org-latex-to-pdf-process in our ~/.emacs files. If I remove that edition and leave org-latex-to-pdf-process in ~/.emacs, command "C-c C-e d" still gives a fontified, colored source code in the genrated PDF. François