emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111482: Fix last commit in autorever


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111482: Fix last commit in autorevert.el.
Date: Fri, 11 Jan 2013 11:45:54 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111482
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2013-01-11 11:45:54 +0200
message:
  Fix last commit in autorevert.el.
  
   lisp/autorevert.el (auto-revert-notify-rm-watch)
   (auto-revert-notify-add-watch): Fix typos in w32notify function
   names.
modified:
  lisp/ChangeLog
  lisp/autorevert.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-01-10 20:26:15 +0000
+++ b/lisp/ChangeLog    2013-01-11 09:45:54 +0000
@@ -1,3 +1,9 @@
+2013-01-11  Eli Zaretskii  <address@hidden>
+
+       * autorevert.el (auto-revert-notify-rm-watch)
+       (auto-revert-notify-add-watch): Fix typos in w32notify function
+       names.
+
 2013-01-10  Michael Albinus  <address@hidden>
 
        * autorevert.el (auto-revert-notify-enabled): Move up.

=== modified file 'lisp/autorevert.el'
--- a/lisp/autorevert.el        2013-01-10 20:26:15 +0000
+++ b/lisp/autorevert.el        2013-01-11 09:45:54 +0000
@@ -466,7 +466,8 @@
 (defun auto-revert-notify-rm-watch ()
   "Disable file watch for current buffer's associated file."
   (when auto-revert-notify-watch-descriptor
-    (funcall (if (fboundp 'inotify-rm-watch) 'inotify-rm-watch 'w32-rm-watch)
+    (funcall (if (fboundp 'inotify-rm-watch)
+                'inotify-rm-watch 'w32notify-rm-watch)
             auto-revert-notify-watch-descriptor)
     (remhash auto-revert-notify-watch-descriptor
             auto-revert-notify-watch-descriptor-hash-list))
@@ -478,7 +479,7 @@
   (when (and buffer-file-name auto-revert-use-notify)
     (auto-revert-notify-rm-watch)
     (let ((func (if (fboundp 'inotify-add-watch)
-                   'inotify-add-watch 'w32-add-watch))
+                   'inotify-add-watch 'w32notify-add-watch))
          (aspect (if (fboundp 'inotify-add-watch)
                      '(close-write) '(last-write-time))))
       (setq auto-revert-notify-watch-descriptor


reply via email to

[Prev in Thread] Current Thread [Next in Thread]