diff options
| author | Basil L. Contovounesios | 2020-06-06 13:20:06 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2020-06-18 12:20:48 +0100 |
| commit | 97d1f672ac1529ac07a999405f630cb19a1010eb (patch) | |
| tree | 4b85b6bca9547c17968e127a6a13275cbc32accc /etc | |
| parent | 7d7bd1b2d3b1a943dbe5253490de2b6a94ffcb37 (diff) | |
| download | emacs-97d1f672ac1529ac07a999405f630cb19a1010eb.tar.gz emacs-97d1f672ac1529ac07a999405f630cb19a1010eb.zip | |
Various dbus.el cleanups (bug#41744)
* etc/NEWS: Announce removal of aliases obsolete since Emacs 24.3.
* lisp/net/dbus.el: Remove unneeded dependency on cl-lib.el. Quote
function symbols as such.
(dbus-ignore-errors): Don't add macro name to font-lock keywords, as
emacs-lisp-mode now dynamically fontifies new macro definitions.
(dbus-event-error-hooks, dbus-call-method-non-blocking): Remove
aliases obsolete since Emacs 24.3.
(dbus-register-signal, dbus-escape-as-identifier): Simplify. Use
regexp \` and \' in place of ^ and $.
(dbus--parse-xml-buffer): New function for libxml2 compatibility.
(dbus-introspect-xml): Use it.
(dbus-string-to-byte-array, dbus-byte-array-to-string)
(dbus-unescape-from-identifier, dbus-list-known-names)
(dbus-introspect-get-all-nodes, dbus-get-all-properties)
(dbus-get-all-managed-objects): Simplify.
(dbus--introspect-names, dbus--introspect-name): New convenience
functions.
(dbus-introspect-get-node-names)
(dbus-introspect-get-interface-names)
(dbus-introspect-get-interface, dbus-introspect-get-method-names)
(dbus-introspect-get-method, dbus-introspect-get-signal-names)
(dbus-introspect-get-signal, dbus-introspect-get-property-names)
(dbus-introspect-get-property)
(dbus-introspect-get-annotation-names)
(dbus-introspect-get-annotation)
(dbus-introspect-get-argument-names, dbus-introspect-get-argument):
Use them to DRY.
* test/lisp/net/dbus-tests.el (dbus-test-all): Quote function
symbols as such.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 10 |
1 files changed, 10 insertions, 0 deletions
| @@ -451,6 +451,16 @@ https://www.w3.org/TR/xml/#charsets). Now it rejects such strings. | |||
| 451 | 451 | ||
| 452 | ** The metamail.el library is now marked obsolete. | 452 | ** The metamail.el library is now marked obsolete. |
| 453 | 453 | ||
| 454 | ** D-Bus | ||
| 455 | |||
| 456 | --- | ||
| 457 | *** Some obsolete variable and function aliases have been removed. | ||
| 458 | In Emacs 24.3, the variable 'dbus-event-error-hooks' was renamed to | ||
| 459 | 'dbus-event-error-functions' and the function | ||
| 460 | 'dbus-call-method-non-blocking' was renamed to 'dbus-call-method'. | ||
| 461 | The old names, which were kept as obsolete aliases of the new names, | ||
| 462 | have now been removed. | ||
| 463 | |||
| 454 | 464 | ||
| 455 | * New Modes and Packages in Emacs 28.1 | 465 | * New Modes and Packages in Emacs 28.1 |
| 456 | 466 | ||