“wrong-type-argument” on an Emacs function I've written

℡╲_俬逩灬. 提交于 2019-12-06 00:17:29
(defun ajf-tab-fun ()
  (interactive)     ; add interactive to let emacs know to call it interactively
   (if (minibufferp)
     (minibuffer-complete)
     (my-tab)))

You just forgot the (interactive)

Actually the behavior you describe is pretty much the default behavior already, except for the "indent" where the default is to "indent according to the major mode indentation rules" instead of "move the text right (or left) by a fixed amount".

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!