diff options
| author | Lars Ingebrigtsen | 2019-09-20 19:37:54 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-09-20 19:37:54 +0200 |
| commit | 385bb140de767ff59b026f5540e0e8bfae53fb55 (patch) | |
| tree | 39531559bda575fc4f0ce7f1491b2cc322764995 /etc | |
| parent | 1646e448d02195726cd44b0a8fb34c595b193a43 (diff) | |
| download | emacs-385bb140de767ff59b026f5540e0e8bfae53fb55.tar.gz emacs-385bb140de767ff59b026f5540e0e8bfae53fb55.zip | |
Make number-at-point recognize some hex numbers
* lisp/thingatpt.el (number-at-point): Also return common hex
numbers (bug#37458).
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -1662,6 +1662,10 @@ A symbol 'uuid' can be passed to 'thing-at-point' and it returns the | |||
| 1662 | UUID at point. | 1662 | UUID at point. |
| 1663 | 1663 | ||
| 1664 | --- | 1664 | --- |
| 1665 | *** 'number-at-point' will now recognize hex number like 0xAb09 and #xAb09 | ||
| 1666 | and return them as numbers. | ||
| 1667 | |||
| 1668 | --- | ||
| 1665 | *** 'word-at-point' and 'sentence-at-point' accept NO-PROPERTIES. | 1669 | *** 'word-at-point' and 'sentence-at-point' accept NO-PROPERTIES. |
| 1666 | Just like 'thing-at-point' itself. | 1670 | Just like 'thing-at-point' itself. |
| 1667 | 1671 | ||