Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. ;; 構文の間違いlispを警告するfont-lockを無効にする
  2. (defadvice lisp--match-hidden-arg (around lisp--match-hidden-arg-wrapper)
  3. (if (not (and (boundp 'use-my-lisp--match-hidden-arg) 'use-my-lisp--match-hidden-arg))
  4. ad-do-it
  5. (nil)))
  6. (ad-activate 'lisp--match-hidden-arg)
  7.  
  8. ;; scratch buffer の hook
  9. (defun lisp-interaction-mode-hooks()
  10. (set (make-local-variable 'use-my-lisp--match-hidden-arg) t))
  11. (add-hook 'lisp-interaction-mode-hook 'lisp-interaction-mode-hooks)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement