Browse Source

org.el (org-refresh-category-properties): Let-bind `inhibit-read-only' to t.

* org.el (org-refresh-category-properties): Let-bind
`inhibit-read-only' to t.
Bastien Guerry 13 years ago
parent
commit
fe0515e5bf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org.el

+ 2 - 1
lisp/org.el

@@ -8575,7 +8575,8 @@ call CMD."
 
 (defun org-refresh-category-properties ()
   "Refresh category text properties in the buffer."
-  (let ((def-cat (cond
+  (let ((inhibit-read-only t)
+	(def-cat (cond
 		  ((null org-category)
 		   (if buffer-file-name
 		       (file-name-sans-extension