Skip to content

volume.el does not work on Emacs 28.1—(wrong-number-of-arguments (3 . 4) 2) #10

Description

@pegzmasta

I get the following error when attempting to evaluate the volume.el file:

Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 4) 2)
  (#f(compiled-function (obsolete-name current-name when &optional docstring) "Make OBSOLETE-NAME a variable alias for CURRENT-NAME and mark it obsolete.\n\nWHEN should be a string indicating when the variable was first\nmade obsolete, for example a date or a release number.\n\nThis macro evaluates all its parameters, and both OBSOLETE-NAME\nand CURRENT-NAME should be symbols, so a typical usage would look like:\n\n  (define-obsolete-variable-alias 'foo-thing 'bar-thing \"28.1\")\n\nThis macro uses `defvaralias' and `make-obsolete-variable' (which see).\nSee the Info node `(elisp)Variable Aliases' for more details.\n\nIf CURRENT-NAME is a defcustom or a defvar (more generally, any variable\nwhere OBSOLETE-NAME may be set, e.g. in an init file, before the\nalias is defined), then the define-obsolete-variable-alias\nstatement should be evaluated before the defcustom, if user\ncustomizations are to be respected.  The simplest way to achieve\nthis is to place the alias statement before the defcustom (this\nis not necessary for aliases that are autoloaded, or in files\ndumped with Emacs).  This is so that any user customizations are\napplied before the defcustom tries to initialize the\nvariable (this is due to the way `defvaralias' works).\n\nFor the benefit of Customize, if OBSOLETE-NAME has\nany of the following properties, they are copied to\nCURRENT-NAME, if it does not already have them:\n`saved-value', `saved-variable-comment'." #<bytecode 0x1d62bd7f9eb60757>) 'volume-amixer-control 'volume-amixer-default-channel)
  (define-obsolete-variable-alias 'volume-amixer-control 'volume-amixer-default-channel)
  (progn (define-obsolete-variable-alias 'volume-amixer-control 'volume-amixer-default-channel))
  (if (fboundp 'define-obsolete-variable-alias) (progn (define-obsolete-variable-alias 'volume-amixer-control 'volume-amixer-default-channel)))
  (eval-buffer)  ; Reading at buffer position 16971

Bongo (my favorite media player) won't load if volume.el fails to evaluate. Can you fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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