user2879704
user2879704

Reputation:

Text properties in interactive mode

How can i get the text properties values in interactive mode (for character in (point) for (current-buffer)? run functions like, get-text-property, get-char-property, get-pos-property .... etc in M-x mode?

Upvotes: 1

Views: 238

Answers (1)

Lindydancer
Lindydancer

Reputation: 26094

If you simply want to see what text properties there is at a specific point, place the cursor there and issue C-u C-x =.

Otherwise, you can run arbitrary elisp interactively by M-: (get-text-property (point) 'face) RET.

Upvotes: 2

Related Questions