~technomancy/scpaste

cd4fa0aafecd839736e0b6cba68b4fc4d7045472 — Phil Hagelberg 8 months ago ca95a8d
Workaround for better htmlfontify support on older Emacsen.
1 files changed, 3 insertions(+), 1 deletions(-)

M scpaste.el
M scpaste.el => scpaste.el +3 -1
@@ 269,7 269,9 @@ NAME is used for the file name."
            (insert (concat ";; * <" scpaste-http-destination "/" file ">\n"))))
        (emacs-lisp-mode)
        (if (fboundp 'font-lock-ensure)
            (font-lock-ensure)
            (progn (font-lock-mode nil)
                   (font-lock-ensure)
                   (jit-lock-mode t))
          (with-no-warnings ; fallback for Emacs 24
            (font-lock-fontify-buffer)))
        (rename-buffer "SCPaste")