From 90511efef48b75b44de0d3a65687aafa0b1ee291 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 11 Jul 2016 20:10:02 +0200 Subject: Fix some quoting problems in doc strings Most of these are minor issues involving, e.g., quoting `like this' instead of 'like this'. A few involve escaping ` and ' with a preceding \= when the characters should not be turned into curved single quotes. --- dbus-codegen.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbus-codegen.el b/dbus-codegen.el index 5f60dd1..049d379 100644 --- a/dbus-codegen.el +++ b/dbus-codegen.el @@ -626,7 +626,7 @@ XML is either a string which defines the interface of the D-Bus proxy, or a Lisp form which returns a string. The format of the string must comply with the standard D-Bus introspection data format as described in: -`http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format>'. +`http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format'. INTERFACE is a name of interface which is represented by this proxy. @@ -828,7 +828,7 @@ XML is either a string which defines the interface of the D-Bus skeleton, or a Lisp form which returns a string. The format of the string must comply with the standard D-Bus introspection data format as described in: -`http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format>'. +`http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format'. INTERFACE is a name of interface which is represented by this skeleton. -- cgit v1.0 From cfc46758c6252a602eea3dbc179f8094ea2a1a85 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 4 Aug 2016 21:35:30 -0400 Subject: * tests/dbus-codegen-tests.el: Fix up compilation (dbus-codegen-tests-introspection-data): Define during compilation. --- tests/dbus-codegen-tests.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/dbus-codegen-tests.el b/tests/dbus-codegen-tests.el index 2303976..6184c46 100644 --- a/tests/dbus-codegen-tests.el +++ b/tests/dbus-codegen-tests.el @@ -1,4 +1,4 @@ -;; Copyright (C) 2015 Free Software Foundation, Inc. +;; Copyright (C) 2015-2016 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -58,7 +58,8 @@ '(:array (:dict-entry :string :int32)) '(("a" . 1) ("b" . 2) ("c" . 3)))))) -(defconst dbus-codegen-tests-introspection-data "\ +(eval-when-compile + (defconst dbus-codegen-tests-introspection-data "\ @@ -79,7 +80,7 @@ value='false'/> -") +")) (ert-deftest dbus-codegen-define-proxy () (dbus-codegen-define-proxy test-proxy -- cgit v1.0 From fb5f2da5c06c60bbbcf68b692cef164214a8c9e8 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 18 Sep 2019 16:31:38 -0400 Subject: * dbus-codegen/dbus-codegen.el (dbus-codegen-object): Fix slot defs --- dbus-codegen.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dbus-codegen.el b/dbus-codegen.el index 049d379..334e20b 100644 --- a/dbus-codegen.el +++ b/dbus-codegen.el @@ -1,6 +1,6 @@ ;;; dbus-codegen.el --- Lisp code generation for D-Bus. -*- lexical-binding: t; -*- -;; Copyright (C) 2015 Free Software Foundation, Inc. +;; Copyright (C) 2015-2019 Free Software Foundation, Inc. ;; Author: Daiki Ueno ;; Keywords: comm, dbus, convenience @@ -168,10 +168,10 @@ ;; Base type of a D-Bus proxy and a skeleton. (cl-defstruct (dbus-codegen-object (:constructor nil)) - (bus :read-only t) - (service :read-only t) - (path :read-only t) - (interface :read-only t) + (bus nil :read-only t) + (service nil :read-only t) + (path nil :read-only t) + (interface nil :read-only t) registration-list) ;; Base type of a D-Bus proxy. -- cgit v1.0