jcu*_*bic 5 emacs elisp colors
当您将文本从一个缓冲区复制到另一个缓冲区(Mw和Cy)时,它会使用font-lock复制文本,当您粘贴它时,它会显示缓冲区中的颜色并复制文本.是否可以更改它以使用新缓冲区中的字体显示?
请参阅doc for user options yank-excluded-properties和yank-handled-properties.从以下文档开始yank:C-h f yank.它告诉你:
When this command inserts text into the buffer, it honors the
`yank-handled-properties' and `yank-excluded-properties'
variables, and the `yank-handler' text property. See
`insert-for-yank-1' for details.
Run Code Online (Sandbox Code Playgroud)
IOW,只是告诉yank不要粘贴诸如face和之类的属性font-lock-face.
另请参阅Elisp手册节点Yanking.