org-protocol: Do not catch all errors when providing backward compatibility
commit137c6ad658d5b54290acbb6900a96e641cacafab
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 17 Apr 2017 09:03:47 +0000 (17 11:03 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 17 Apr 2017 09:03:47 +0000 (17 11:03 +0200)
treea379597a893d70853dd04ab5cbae6a95a143cbea
parent165f7c395073b649d7da9a12c52a34b724ed4cf0
org-protocol: Do not catch all errors when providing backward compatibility

* lisp/org-protocol.el (org-protocol-check-filename-for-protocol): Do
  not catch every error so as to ease old style support.  Re-format
  code to fit within 80 columns.

Reported-by: Adam Porter <adam@alphapapa.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/113102>
lisp/org-protocol.el