[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: default-text-properties
From: |
Luc Teirlinck |
Subject: |
Re: default-text-properties |
Date: |
Wed, 19 May 2004 22:20:44 -0500 (CDT) |
Maybe an extended version of the ielm run of my previous message
showing the same problem for a string, where things might be more
obvious:
*** Welcome to IELM *** Type (describe-mode) for help.
ELISP> (set-buffer "*scratch*")
#<buffer *scratch*>
ELISP> (setq default-text-properties '(foo 69))
(foo 69)
ELISP> (setq char-property-alias-alist '((foo bar)))
((foo bar))
ELISP> (get-text-property (point-max) 'foo)
69 ;; I believe this should be nil: end of object.
ELISP> (setq str "01")
"01"
ELISP> (get-text-property 2 'foo str)
69 ;; I believe this should be nil: end of object.
ELISP>