Fix 80bccca4e249cbb5812963863ccffbdcf4b25edd
commit22bf1b8ae3c2842945b9b9d9ab2ca203eae17946
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 1 Apr 2015 20:41:41 +0000 (1 22:41 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 1 Apr 2015 20:41:41 +0000 (1 22:41 +0200)
tree6efcb6f3ac1dd6a3adaa9a3a44f51557555cb638
parent237d423d6c9927408cc56088b3f62a21352b1cff
Fix 80bccca4e249cbb5812963863ccffbdcf4b25edd

* lisp/org.el (org-refresh-category-properties): Extract default
  category before entering `with-silent-modifications', as
  `buffer-file-name' is then bound to nil.

Reported-by: John Hendy <jw.hendy@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/96620>
lisp/org.el