Fixes: debbugs:13556

* emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
(lisp-mode): Pass t for it.
* autorevert.el (auto-revert-handler): Notifications which result
from a saved file shall not be taken into account.  (Bug#13557)
* progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<" instead
  of "\\b".  Remove some checks made superfluous as a result.
* automated/ruby-mode-tests.el
  (ruby-indent-spread-args-in-parens): New test.
* automated/ruby-mode-tests.el
  (ruby-indent-spread-args-in-parens): New test.
* progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
  temporarily) broken indentation.
* automated/ruby-mode-tests.el (ruby-block-test-example):
  Break indentation of the do block opener and add a line inside it.
* automated/ruby-mode-tests.el (works-on-do, ok-with-three):
  Adjust line numbers.
* progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
  nested constants, too.  \_< broke that.
Remove obsolete redisplay code.  See the discussion at
http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00576.html.
* dispnew.c (preemption_period, preemption_next_check): Remove.
(Vredisplay_preemption_period): Likewise.
(update_frame, update_single_window, update_window, update_frame_1):
Adjust users.  Always assume that PERIODIC_PREEMPTION_CHECKING is not
used, following the 2012-06-22 change.
Make opendir on MS-Windows accept a 'const char *'.

 src/w32.c (opendir): Now accepts a 'const char *'.

 nt/inc/dirent.h (opendir): Update prototype.