diff options
| author | Andrew Schwartzmeyer | 2018-09-24 21:09:39 -0700 |
|---|---|---|
| committer | Eli Zaretskii | 2018-09-29 09:56:46 +0300 |
| commit | 48ff4c0b2f78f1812fa12e3a56ee5f2a0bc712f7 (patch) | |
| tree | 0572bf3bf14553e78dcbe58ffa3d0b8b754b4f04 /etc | |
| parent | c973a0f15efe173671d82ac9a6ba67d5a592dc2e (diff) | |
| download | emacs-48ff4c0b2f78f1812fa12e3a56ee5f2a0bc712f7.tar.gz emacs-48ff4c0b2f78f1812fa12e3a56ee5f2a0bc712f7.zip | |
Support mode aliases in 'provided-mode-derived-p'
* lisp/subr.el (provided-mode-derived-p): Check aliases of
MODES as well as MODES themselves. (Bug#32795)
* test/lisp/subr-tests.el (provided-mode-derived-p): New test.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -982,6 +982,11 @@ This works like 'dolist', but reports progress similar to | |||
| 982 | This works like 'delete-frame-functions', but runs after the frame to | 982 | This works like 'delete-frame-functions', but runs after the frame to |
| 983 | be deleted has been made dead and removed from the frame list. | 983 | be deleted has been made dead and removed from the frame list. |
| 984 | 984 | ||
| 985 | --- | ||
| 986 | ** The function 'provided-mode-derived-p' was extended to support aliases. | ||
| 987 | The function now returns non-nil when the argument MODE is derived | ||
| 988 | from any alias of any of MODES. | ||
| 989 | |||
| 985 | +++ | 990 | +++ |
| 986 | ** New frame focus state inspection interface. | 991 | ** New frame focus state inspection interface. |
| 987 | The hooks 'focus-in-hook' and 'focus-out-hook' are now obsolete. | 992 | The hooks 'focus-in-hook' and 'focus-out-hook' are now obsolete. |