Skip to content

Instantly share code, notes, and snippets.

@TakesxiSximada
Created August 31, 2018 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TakesxiSximada/3c82754451e4630e22ff52602dfbd6f8 to your computer and use it in GitHub Desktop.
Save TakesxiSximada/3c82754451e4630e22ff52602dfbd6f8 to your computer and use it in GitHub Desktop.
put-text-propertyを使ってテキストのRead Onlyを設定する
--------- --------- ---------|
--------+ +++++++++ ---------|
--------- --------- ---------|

(put-text-property 40 50 'read-only t)

+ のところがREAD ONLYになる 文字を移動してもその属性の文字の箇所にプロパティがついてくる

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment