[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 15 Feb 2011 04:35:12 +0100
I have a situation here where I need to tell the user that the part of
the buffer where point is located is read-only. This is what I am
thinking right now:
(error (error-message-string (list 'text-read-only)))
(signal 'text-read-only nil)))
I haven't found any examples of this explicit sort of signaling in the
other Lisp files in Emacs, but I might have missed something.
The reason why I need this is that `rcirc-complete' shouldn't be
called in read-only areas of the buffer.
What is the right way to do this?
- Signaling text-read-only,
Deniz Dogan <=