fix web-mode-hook and desktop-path syntax errors