spacemacs/doc
Tu Do 21ca031492 [Emergency fix] spacemacs//mark-repl-as-useful
This function is making asynchronous commands fail because it tries to
add string literal to spacemacs-useful-buffers-regexp while add-to-list
only works when first argument is a symbol and the second is an
element. Otherwise, it throws this error and stop all async commands to
do any further work at this point:

if: Wrong type argument: symbolp

This commit fixes the following issues:

- Don't add spacemacs//mark-repl-as-useful to
  buffer-list-update-hook. We only need this function to switch to next
  or previous buffer. So, better check when and only when those commands
  are actually used.

- As a result, we remove the function since it's unneeded anymore.

- Do the checking in of comint-mode in spacemacs-useful-buffer-p
  function. Better do it in one place than scatter the logic in a hook
  and this function.

- Change useless-buffer-p to accept an actual buffer object and check
  for buffer name inside.
2015-04-24 00:07:29 -04:00
..
img Add Spacemacs logo by Nasser Alshammari to the README 2015-03-12 23:50:50 -04:00
CONTRIBUTE.md Update CONTRIBUTE.md and add file headers 2015-01-13 23:12:56 -05:00
CONVENTIONS.md Move C-SPC on M-SPC and s-M-SPC for helm and ido micro-states 2015-04-22 22:44:51 -04:00
DOCUMENTATION.md Smarter buffer switching. 2015-04-22 23:12:45 -04:00
HOWTOs.md [Emergency fix] spacemacs//mark-repl-as-useful 2015-04-24 00:07:29 -04:00