               (set-buffer page)
               (if (eq enh-browsing-page-type type)
                   (funcall enh-browsing-page-setup-func)))
-              evernote-browsing-page-list)))
+            evernote-browsing-page-list)))
 
 ;
 ;

(defun enh-command-create-search (name query)
  "Issue createsearch command"
  (enh-command-issue
     (format ":class => %s, :name => %s, :query => %s"
             (enutil-to-ruby-string "CreateSearchCommand")
             (enutil-to-ruby-string name)
             (enutil-to-ruby-string query))))


(defun enh-command-update-search (guid name query)
  "Issue updatesearch command"
  (enh-command-issue
     (format ":class => %s, :guid => %s, :name => %s, :query => %s"
             (enutil-to-ruby-string "UpdateSearchCommand")
             (enutil-to-ruby-string guid)
             (enutil-to-ruby-string name)
             (enutil-to-ruby-string query))))


(defun enh-command-issue (command)

        (setq evernote-note-modified-edit-mode
              (enutil-aget 'modified-edit-mode evernote-mode-info-for-changing-major-mode))
        (evernote-mode ; this must be after setting evernote-note-modified-xxx
         (enutil-aget 'guid evernote-mode-info-for-changing-major-mode))
        (setq evernote-note-xhtml-mode-content
              (enutil-aget 'note-xhtml-mode-content evernote-mode-info-for-changing-major-mode))
        (setq evernote-mode-info-for-changing-major-mode nil))))
