org-archive: error when buffer isn't visiting a file
commit0b4b66b302470a62742f18f50d88fad565f7f3fa
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 20 Jul 2011 22:43:52 +0000 (21 00:43 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 20 Jul 2011 22:43:52 +0000 (21 00:43 +0200)
treeb9d654ebe3561f393abf3b9210853146d44551ad
parent26ba1b368018786b25dfc2fe2de414556ca16e58
org-archive: error when buffer isn't visiting a file

* lisp/org-archive.el (org-archive-subtree): while it might be
  possible to archive an headline of a temporary buffer (i.e. not
  visiting a file), it wouldn't be really sensical.
lisp/org-archive.el