mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 23:21:22 -08:00
* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
Don't prettify a word within a symbol.
This commit is contained in:
parent
6709d4dab9
commit
f0ffb9b767
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue