view .dir-locals.el @ 17971:54784619350b

Make CTRL-C to work in GUI with "system" calls. * libgui/src/thread-manager.cc (block_or_unblock_signal): Don't do anything on Win32 platform, as thread-specific signal handling is not supported. This allow to delay SetConsoleCtrlHandler after AllocConsole. (windows_thread_manager::interrupt): Call GenerateConsoleCtrlEvent instead of w32_raise_sigint.
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 21 Nov 2013 13:14:03 -0500
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))