misc changes
[bpt/emacs.git] / src / inotify.c
index f4f850b..533ad44 100644 (file)
@@ -1,6 +1,6 @@
 /* Inotify support for Emacs
 
-Copyright (C) 2012-2013 Free Software Foundation, Inc.
+Copyright (C) 2012-2014 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -398,6 +398,8 @@ See inotify_rm_watch(2) for more information.
 void
 syms_of_inotify (void)
 {
+#include "inotify.x"
+
   DEFSYM (Qaccess, "access");
   DEFSYM (Qattrib, "attrib");
   DEFSYM (Qclose_write, "close-write");
@@ -426,9 +428,6 @@ syms_of_inotify (void)
   DEFSYM (Qq_overflow, "q-overflow");
   DEFSYM (Qunmount, "unmount");
 
-  defsubr (&Sinotify_add_watch);
-  defsubr (&Sinotify_rm_watch);
-
   staticpro (&watch_list);
 
   Fprovide (intern_c_string ("inotify"), Qnil);