bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10841: 24.0.92; Add field text property to ERC prompt


From: Deniz Dogan
Subject: bug#10841: 24.0.92; Add field text property to ERC prompt
Date: Sat, 18 Feb 2012 21:56:16 +0100

Attached is a patch which adds the field text property to the ERC
prompt.  This allows users to use `kill-whole-line' to kill all text
back to the prompt given that it's on a single line.

=== modified file 'lisp/erc/erc.el'
--- lisp/erc/erc.el     2012-01-19 07:21:25 +0000
+++ lisp/erc/erc.el     2012-02-18 20:50:44 +0000
@@ -3646,6 +3646,7 @@
                                     'start-open t ; XEmacs
                                     'rear-nonsticky t ; Emacs
                                     'erc-prompt t
+                                    'field t
                                     'front-sticky t
                                     'read-only t))
        (erc-put-text-property 0 (1- (length prompt))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]