X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=lurk.el;h=675ec0ee5d95d8633949032638964e3857856227;hb=943a2fbb17df9da6a47389e77082a889a552f588;hp=2a1bf3bd0a6bc21a680c6eed95922e22f0daaad6;hpb=405da5a7b32b37d510c30d3c5f27dd3ce01028ad;p=lurk.git diff --git a/lurk.el b/lurk.el index 2a1bf3b..675ec0e 100644 --- a/lurk.el +++ b/lurk.el @@ -351,8 +351,10 @@ portion of the source component of the message, as LURK doesn't use this.") "") 'face 'lurk-context 'read-only t) - (propertize (concat lurk-prompt-string " ") + (propertize lurk-prompt-string 'face 'lurk-prompt + 'read-only t) + (propertize " " ; Need this to be separate to mark it as rear-nonsticky 'read-only t 'rear-nonsticky t))) (set-marker-insertion-type lurk-input-marker nil)) @@ -976,7 +978,7 @@ in which case they match anything.") (lurk-display-notice nil "No current channel."))) (defun lurk-command-msg (params) - (if (and params (>= 2 (length params))) + (if (and params (>= (length params) 2)) (let ((to (car params)) (text (string-join (cdr params) " "))) (lurk-send-msg (lurk-msg nil nil "PRIVMSG" to text))