SHARE
TWEET

Johan Sundström

a guest Jan 9th, 2011 752 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;; make Chrome/Firefox/Opera extensions loadable like any other archive files:
  2. (setq auto-mode-alist
  3.   (append '(("\\.crx\\'" . archive-mode)
  4.             ("\\.xpi\\'" . archive-mode)
  5.             ("\\.oex\\'" . archive-mode))
  6.           auto-mode-alist))
  7.  
  8. (setq auto-coding-alist
  9.   (append '(("\\.crx\\'" . no-conversion)
  10.             ("\\.xpi\\'" . no-conversion)
  11.             ("\\.oex\\'" . no-conversion))
  12.           auto-coding-alist))
RAW Paste Data
Top