They are basically copied from thetop of http://orgmode.org/worg/org-tutorials/encrypting-files.html The first line loads epa-file (epa-file.el --- the EasyPG Assistant, transparent file encryption ) The second line looks like a way to call epa-file-enable if it hasn't been enabled. You can just call epa-file-enable, and it does the check too, but this probably avoids a minibuffer message when it is already loaded. I think this function provides a handler for files ending in .gpg which need to be en/decrypted by gpg. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Fri, Aug 14, 2015 at 4:01 AM, Sebastien Vauban wrote: > Hello John, > > > Here is the setup I have that worked when I tried it last ;) > > > > ;; encryption > > (require 'epa-file) > > (unless (memq epa-file-handler file-name-handler-alist) > > (epa-file-enable)) > > Do you remember what are those 2 lines for? > > Best regards, > Seb > > -- > Sebastien Vauban > > >