aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAndrew Schwartzmeyer2018-09-24 21:09:39 -0700
committerEli Zaretskii2018-09-29 09:56:46 +0300
commit48ff4c0b2f78f1812fa12e3a56ee5f2a0bc712f7 (patch)
tree0572bf3bf14553e78dcbe58ffa3d0b8b754b4f04 /etc
parentc973a0f15efe173671d82ac9a6ba67d5a592dc2e (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e6508eb60bb..354072fc814 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -982,6 +982,11 @@ This works like 'dolist', but reports progress similar to
982This works like 'delete-frame-functions', but runs after the frame to 982This works like 'delete-frame-functions', but runs after the frame to
983be deleted has been made dead and removed from the frame list. 983be 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.
987The function now returns non-nil when the argument MODE is derived
988from any alias of any of MODES.
989
985+++ 990+++
986** New frame focus state inspection interface. 991** New frame focus state inspection interface.
987The hooks 'focus-in-hook' and 'focus-out-hook' are now obsolete. 992The hooks 'focus-in-hook' and 'focus-out-hook' are now obsolete.