Skip to content

back-button commands return wrong-type-argument error #13

@benthamite

Description

@benthamite

Calling any of the back-button commands, such as back-button-local-backward, returns

Debugger entered--Lisp error: (wrong-type-argument obarrayp [nil nil nil nil nil nil nil nil nil nil nil nil nil])

Here’s the backtrace:

Debugger entered--Lisp error: (wrong-type-argument obarrayp [nil nil nil nil nil nil nil nil nil nil nil nil nil])
  intern("back-button-local-forward" [nil nil nil nil nil nil nil nil nil nil nil nil nil])
  #f(compiled-function (x) #<bytecode 0x830bd57b>)(("<right>" . back-button-local-forward))
  mapc(#f(compiled-function (x) #<bytecode 0x830bd57b>) (("<right>" . back-button-local-forward) ("<left>" . back-button-local-backward) ("<SPC>" . back-button-local) ("<C-right>" . back-button-global-forward) ("<C-left>" . back-button-global-backward) ("<C-SPC>" . back-button-global)))
  smartrep-define-key((keymap) "C-x" (("<right>" . back-button-local-forward) ("<left>" . back-button-local-backward) ("<SPC>" . back-button-local) ("<C-right>" . back-button-global-forward) ("<C-left>" . back-button-global-backward) ("<C-SPC>" . back-button-global)))
  byte-code("\306\30\11\32\n\203\206\0\n@\33\307\310\13!\311P!J\34\f\203~\0\f@\35\312\15\306\313\3\3\3\314$\266\203\2047\0\13\315N\2047\0\316\13\315\317\15!#\210\320\321!\203n\0\0165;\203n\0\0165G\322V\203n\0\323\0165\324Q\15\306\313\3\3\3\314$\266\203\203n\0\325\323\0165\326Q\327\15#\13B\10B\20\202w\0\330\0166\317\15!\13#\210\fA\24)\202\24\0)\nA\22)\202\4\0)\10\203\223\0\331\0166\0165\10#\210)\0167\203\332\0\332\168\333\334\335!\203\250\0\16\35\202\251\0\336#\210\337\340\341\342\343\344\345\346&\7\210\337\347\350\351\343\352\345\353&\7\210\337\354\355\356\343\357\345\360&\7\210\330\169\361\362#\210\330\169\363\364#\210\306\207" [smart-keys back-button-commands tail cmd tail k nil intern symbol-name "-keystrokes" "mouse\\|wheel\\|button" string-match t :advertised-binding put read-kbd-macro featurep smartrep 0 "\\`" "\\>" replace-regexp-in-string "\\>[ \11]*" "" define-key smartrep-define-key define-key-after [separator-backb] boundp menu-bar-separator "--" tool-bar-add-item "left-arrow" back-button-global-backward back-button :label "Back By Mark" :visible (and back-button-mode back-button-show-toolbar-buttons) "mpc/add" back-button-push-mark-local-and-global back-button-push "push Mark" (and back-button-mode back-button-show-toolbar-buttons) "right-arrow" back-button-global-forward forward-button "Forward By Mark" (and back-button-mode back-button-show-toolbar-buttons) [tool-bar S-back-button] back-button-local-backward [tool-bar S-forward-button] back-button-local-forward back-button-smartrep-prefix back-button-mode-map back-button-show-toolbar-buttons tool-bar-map global-map] 8)
  command-execute(back-button-local-backward record)
  execute-extended-command(nil "back-button-local-backward" nil)
  funcall-interactively(execute-extended-command nil "back-button-local-backward" nil)
  command-execute(execute-extended-command)

GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.2.0, NS appkit-2487.30 Version 14.2.1 (Build 23C71)) of 2024-03-13
macOS 14.2.1 (23C71)

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