diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-11-07 11:50:06 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-11-07 11:50:06 +0200 |
commit | d5bb053809bfe2f2605ada15a7ccd25d772b0102 (patch) | |
tree | dd75c5bd98b2eb80c9aea8ef49074d358830b6a9 /src/keyboard.c | |
parent | f80fd099fc6653c9893b5522c0d520c0ae1f5133 (diff) | |
download | emacs-d5bb053809bfe2f2605ada15a7ccd25d772b0102.tar.gz emacs-d5bb053809bfe2f2605ada15a7ccd25d772b0102.tar.bz2 emacs-d5bb053809bfe2f2605ada15a7ccd25d772b0102.zip |
Fix documentation and coding style in recent xwidget commits
* src/xwidget.c (Fmake_xwidget, find_widget)
(xwidget_motion_or_crossing, xwidget_button_1, xwidget_button):
Fix style in comments.
(Fxwidget_perform_lispy_event): Doc fix.
* src/xwidget.c (set_widget_if_text_view, kill_frame_xwidget_views):
* src/keyboard.c (make_lispy_event): Fix style of braces.
* lisp/xwidget.el (xwidget-webkit-isearch-mode): Fix keys in doc
string.
* doc/lispref/commands.texi (Xwidget Events): Fix markup and
wording.
* doc/lispref/display.texi (Xwidgets): Fix wording and markup.
* doc/emacs/misc.texi (Embedded WebKit Widgets): Fix wording.
* etc/NEWS: Fix wording and punctuation.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index c4a5671b104..de9805df327 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -6123,28 +6123,20 @@ make_lispy_event (struct input_event *event) #ifdef HAVE_DBUS case DBUS_EVENT: - { - return Fcons (Qdbus_event, event->arg); - } + return Fcons (Qdbus_event, event->arg); #endif /* HAVE_DBUS */ #ifdef THREADS_ENABLED case THREAD_EVENT: - { - return Fcons (Qthread_event, event->arg); - } + return Fcons (Qthread_event, event->arg); #endif /* THREADS_ENABLED */ #ifdef HAVE_XWIDGETS case XWIDGET_EVENT: - { - return Fcons (Qxwidget_event, event->arg); - } + return Fcons (Qxwidget_event, event->arg); case XWIDGET_DISPLAY_EVENT: - { - return list2 (Qxwidget_display_event, event->arg); - } + return list2 (Qxwidget_display_event, event->arg); #endif #ifdef USE_FILE_NOTIFY |