]> code.delx.au - gnu-emacs-elpa/commit
* num3-mode.el: Catch strings looking like hex number even w/o 0x prefix.
authorMichal Nazarewicz <mina86@mina86.com>
Mon, 24 Feb 2014 00:28:48 +0000 (01:28 +0100)
committerMichal Nazarewicz <mina86@mina86.com>
Mon, 24 Feb 2014 00:28:48 +0000 (01:28 +0100)
commit34a33fa74a7ded2456e75138e93ba0c057615f80
treeda40438300c9fc7532445d6942fd88e7e05a62ac
parentd99d86e1ddd651b4b31e85a400d1b5f9bf4b811a
* num3-mode.el: Catch strings looking like hex number even w/o 0x prefix.

Update `num3--number-re' to catch strings which are a whole word, have
only hexadecimal digits and have at least one non-decimal hexadecimal
digit (i.e. letter from A to F), and treat them as hexadecimal number.

Also update `num3--number-re' to properly catch Emacs Lisp's

This fixes bug#16834.
packages/num3-mode/num3-mode.el