From: Evgenii T. <evg...@us...> - 2008-03-26 16:48:13
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv31879 Modified Files: jabber-muc-nick-completion.el Log Message: Complex (regexp-like) nicks handing fixed. Index: jabber-muc-nick-completion.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-muc-nick-completion.el,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- jabber-muc-nick-completion.el 5 Mar 2008 14:31:10 -0000 1.8 +++ jabber-muc-nick-completion.el 26 Mar 2008 16:48:07 -0000 1.9 @@ -169,8 +169,8 @@ (jabber-muc-completion-delete-last-tried) (progn (insert subst) - (if (looking-back (concat "^" (car he-expand-list))) - (unless (looking-back (concat "^" (car he-expand-list) jabber-muc-completion-delimiter)) + (if (looking-back (concat "^" (regexp-quote (car he-expand-list)))) + (unless (looking-back (concat "^" (regexp-quote (car he-expand-list)) jabber-muc-completion-delimiter)) (insert jabber-muc-completion-delimiter))) ) )) |