                   ;; inserted *above* the earlier inserted css code.
                   (goto-char (point-min))
                   (insert (concat "<!-- This file is generated using the "
-                                  "modi/htmlize-region-as-html-file function\n"
+                                  "`modi/htmlize-region-to-file' function\n"
                                   "from https://github.com/kaushalmodi/.emacs.d/"
                                   "blob/master/setup-files/setup-org.el -->\n"))
                   (insert "<html>\n<head>\n<style media=\"screen\" type=\"text/css\">\n")

                  (insert html-string)
                  ;; Close the `body' and `html' tags.
                  (insert "</body>\n</html>\n")
                  (write-file modi/htmlize-html-file)
                  (when open-in-browser
                    (browse-url-of-file modi/htmlize-html-file)))))
            (bind-key "H" #'modi/htmlize-region-as-html-file region-bindings-mode-map)))

;;;; ox-beamer - Beamer export
        (use-package ox-beamer

            (setq org-html-htmlize-font-prefix "org-") ; default: "org-"

            ;; http://emacs.stackexchange.com/a/14560/115
            (defvar modi/htmlize-output-directory
              (let ((dir (concat temporary-file-directory
                                 (getenv "USER") "/.htmlize/"))) ; must end with /
                (make-directory dir :parents)
                dir)
              "Output directory for files exported by `modi/htmlize-region-to-file'.")
            (defvar modi/htmlize-css-file (concat user-emacs-directory
                                                  "misc/css/leuven_theme.css")
              "CSS file to be embedded in the html file created using the
             `modi/htmlize-region-to-file' function.")
            (defun modi/htmlize-region-to-file (option)
              "Export the selected region to an html file. If a region is not
selected, export the whole buffer.

The output file is saved to `modi/htmlize-output-directory' and its fontification
is done using `modi/htmlize-css-file'.

If OPTION is non-nil (for example, using `\\[universal-argument]' prefix), copy
the output file name to kill ring.
If OPTION is \\='(16) (using `\\[universal-argument] \\[universal-argument]' prefix),
do the above and also open the html file in the default browser."
              (interactive "P")
              (let ((org-html-htmlize-output-type 'css)
                    (org-html-htmlize-font-prefix "org-")
                    (fname (concat modi/htmlize-output-directory
                                   (if (buffer-file-name)
                                       (file-name-nondirectory (buffer-file-name))
                                     "temp")
                                   ".html"))
                    start end html-string)
                (if (use-region-p)
                    (progn
                      (setq start (region-beginning))
                      (setq end (region-end)))
                  (progn
                    (setq start (point-min))
                    (setq end (point-max))))
                (setq html-string (org-html-htmlize-region-for-paste start end))
                (with-temp-buffer
                  ;; Insert the `modi/htmlize-css-file' contents in the temp buffer
