Commit f0ffb9b7 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):

Don't prettify a word within a symbol.
parent 6709d4da
2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/prog-mode.el (prettify-symbols--compose-symbol):
Don't prettify a word within a symbol.
2014-04-20 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
......
......@@ -67,7 +67,7 @@ Regexp match data 0 points to the chars."
(let* ((start (match-beginning 0))
(end (match-end 0))
(syntaxes (if (eq (char-syntax (char-after start)) ?w)
'(?w) '(?. ?\\)))
'(?w ?_) '(?. ?\\)))
match)
(if (or (memq (char-syntax (or (char-before start) ?\s)) syntaxes)
(memq (char-syntax (or (char-after end) ?\s)) syntaxes)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment