Skip to content

if: Symbol's function definition is void: case #1

@marstein

Description

@marstein

On a project on github that I can control well on the command line, emacs-git fails when I try to commit:

if: Symbol's function definition is void: case

I am using GNU Emacs 22.3.1 (i386-mingw-nt6.0.6002)

Entering the debugger on the error shows:


Debugger entered--Lisp error: (void-function case)
  (case (git--status-file filename) ((quote modified) (git-commit-all)) ((quote staged) (git-commit-all)) ((quote unknown) (git--add filename)) ((quote unmerged) (git--add filename)) (t (git--add filename)))
  (if on-git\? (case (git--status-file filename) (... ...) (... ...) (... ...) (... ...) (t ...)) (setq ad-return-value (ad-Orig-vc-next-action verbose)))
  (let ((on-git\? ...) (filename "")) (when buffer-file-name (setq filename ...)) (if on-git\? (case ... ... ... ... ... ...) (setq ad-return-value ...)))
  (let (ad-return-value) (let (... ...) (when buffer-file-name ...) (if on-git\? ... ...)) ad-return-value)
  vc-next-action(nil)
  call-interactively(vc-next-action)

My lisp is very rusty, I don't see anything wrong with case. Apparently it is a void function?

Let me know if you need anything else!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions