Skip to content

File mode specification error: (void-function search) #14

@tsulej

Description

@tsulej
  • installed package
  • put (require 'expectations-mode) into my configuration
  • opened expectation test file
  • got an error: File mode specification error: (void-function search) and expectations-mode is not loaded

Details:

Debugger entered--Lisp error: (void-function search)
  (search "expectations." ns)
  (or (search "expectations." ns) (search "-expectations" ns))
  (if (or (search "expectations." ns) (search "-expectations" ns)) (progn (let ((wconfig (current-window-configuration))) (unwind-protect (progn (expectations-mode t) (clojure-test-mode 0)) (set-window-configuration wconfig)))))
  (let ((ns (clojure-find-ns))) (if (or (search "expectations." ns) (search "-expectations" ns)) (progn (let ((wconfig (current-window-configuration))) (unwind-protect (progn (expectations-mode t) (clojure-test-mode 0)) (set-window-configuration wconfig))))))
  expectations-maybe-enable()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook clojure-mode-hook)

Turning on manually M-x expectations-mode works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions