]> code.delx.au - gnu-emacs-elpa/commitdiff
Make dispatches fully redefinable.
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sun, 17 May 2015 22:44:59 +0000 (15:44 -0700)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sun, 17 May 2015 22:44:59 +0000 (15:44 -0700)
context-coloring.el

index a51394712701342af7c1709d5c4d96f709a780a8..d1c2d5263572ccdcc4b4a3e27ce142e44209a358 100644 (file)
@@ -864,8 +864,7 @@ interrupted (for synchronous strategies like `:colorizer' and
       (error "No colorizer, scopifier or command defined for dispatch"))
     (puthash symbol properties context-coloring-dispatch-hash-table)
     (dolist (mode modes)
-      (when (null (gethash mode context-coloring-mode-hash-table))
-        (puthash mode properties context-coloring-mode-hash-table)))))
+      (puthash mode properties context-coloring-mode-hash-table))))
 
 
 ;;; Colorization