简体   繁体   中英

How to load registers on emacs startup?

无论如何在emacs启动时加载列表预定义寄存器而不是疯狂地手动插入它们?

You can call:

(set-register REGISTER VALUE)

For the typical interactive usage, REGISTER will be a char, such as ?a

For programmatic usage, registers can be anything comparable with eq (eg chars/integers, 'symbols and :keywords all work; strings do not). If you want to use registers without conflicting with their interactive usage, it's better to not use a char.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM