                        (org-wiki/path-equal
                         org-wiki/location
                         (file-name-directory (buffer-file-name b)))
-                )
+                       )
 
 	      
-	      (with-current-buffer b
-		(save-buffer)		
-		(kill-this-buffer)
-		) 
+              (with-current-buffer b
+                (save-buffer)		
+                (kill-this-buffer)
+                ) 
 
               ))
 

  )

(defun org-wiki/open-page (pagename)
  (find-file  (org-wiki/page->file pagename)))



(defun org-wiki/assets-get-file (pagename filename)


  (org-wiki/helm-selection #'org-wiki/open-page))

(defun org-wiki/helm ()
  " Browser the wiki files using helm.

  Usage: M-x org-wiki/helm 
  "
  (interactive)

  (org-wiki/helm-selection #'org-wiki/open-page))

(defun org-wiki/helm-read-only ()
  " Open wiki page in read-only mode."
  (interactive)
  (org-wiki/helm-selection (lambda (pagename)
                             (find-file-read-only
                              (org-wiki/page->file pagename)                              
                              ))))


(defun org-wiki/helm-frame ()
  " Browser the wiki files using helm and opens it in a new frame 
