当使用 (move-to-column col t)
时,如果列参数大于 end-of-line
,Emacs 会插入一些空格和制表符的组合,具体情况取决于 col
是否在制表位上结束。
我该如何让它只插入空格呢?
indent-tabs-mode
设置为nil
,可以使用setq-default
来进行设置:(setq-default indent-tabs-mode nil)
或者使用自定义
选项:
(custom-set-variables '(indent-tabs-mode nil))