Remember: Make sure the buffer to check for completion stuff exist
This commit is contained in:
parent
a1fea8b3d1
commit
8cde7ed412
|
@ -1,3 +1,8 @@
|
|||
2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-remember.el (org-remember-apply-template): Make sure the
|
||||
buffer exists.
|
||||
|
||||
2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-tab-ind-state): New variable.
|
||||
|
|
|
@ -588,12 +588,14 @@ to be run from that hook to function properly."
|
|||
(pall (concat prop "_ALL"))
|
||||
(allowed
|
||||
(with-current-buffer
|
||||
(or (find-buffer-visiting file) (current-buffer))
|
||||
(or (find-buffer-visiting file)
|
||||
(find-file-noselect file))
|
||||
(or (cdr (assoc pall org-file-properties))
|
||||
(cdr (assoc pall org-global-properties))
|
||||
(cdr (assoc pall org-global-properties-fixed)))))
|
||||
(existing (with-current-buffer
|
||||
(get-buffer (file-name-nondirectory file))
|
||||
(or (find-buffer-visiting file)
|
||||
(find-file-noselect file))
|
||||
(mapcar 'list (org-property-values prop))))
|
||||
(propprompt (concat "Value for " prop ": "))
|
||||
(val (if allowed
|
||||
|
|
Loading…
Reference in New Issue