Org-mode的table问题:Debugger entered--Lisp error: (invalid-function org-table-with-shrunk-field)

最近 spacemacs 和配置也没改动,在使用 org table 的时候,在表格内输入文字,只能输入一个字,并且输入完成之后就会出现下面的错误,很奇怪,求大神帮忙!!

Debugger entered–Lisp error: (invalid-function org-table-with-shrunk-field) org-table-with-shrunk-field(nil) org-self-insert-command(1) funcall-interactively(org-self-insert-command 1) call-interactively(org-self-insert-command nil nil) command-execute(org-self-insert-command)

下面是 org-table-with-shrunk-field 函数:

(defmacro org-table-with-shrunk-field (&rest body) “Save field shrunk state, execute BODY and restore state.” (declare (debug (body))) (org-with-gensyms (end shrunk size) `(let* ((,shrunk (save-match-data (org-table–shrunk-field))) (,end (and ,shrunk (copy-marker (overlay-end ,shrunk) t))) (,size (and ,shrunk (- ,end (overlay-start ,shrunk))))) (when ,shrunk (delete-overlay ,shrunk)) (unwind-protect (progn ,@body) (when ,shrunk (move-overlay ,shrunk (- ,end ,size) ,end))))))

删除 org-plus-contrib 重新安装就可以了 ,问题关闭。

3 个赞