 
 (defun merlin-one-group ()
   "Groups every buffer in one emacs instance."
-  '(
-    (name . "default")))
+  (append
+   '((name . "default"))
+   (if merlin-logfile (list (cons 'logfile merlin-logfile)))))
 
 (defun merlin-dir-group ()
   "Group buffers by directory" ()

(defun merlin-can-handle-buffer ()
  "Simple sanity check (used to avoid running merlin on, e.g., completion buffer)."
  (buffer-file-name))

(defun merlin-process-dead-p ()
  "Return non-nil if merlin process is dead."

  "If non-nil, when locate opens a new window it will give it the focus."
  :group 'merlin :type 'boolean)

(defcustom merlin-logfile nil
  "If non-nil, use this file for the log file (should be an absolute path)"
  :group 'merlin :type 'filename)
;;;;;;;;;;;;;;;;;;;;;;;;
;; Internal variables ;;
;;;;;;;;;;;;;;;;;;;;;;;;
