Last active
          August 10, 2017 08:52 
        
      - 
      
 - 
        
Save tek-nishi/f722d0637087d282232e2c81c76cab9f to your computer and use it in GitHub Desktop.  
    構文の間違いlispを警告するfont-lockをscratch bufferでだけ無効にする
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ;; 構文の間違いlispを警告するfont-lockを無効にする | |
| (defadvice lisp--match-hidden-arg (around lisp--match-hidden-arg-wrapper) | |
| (if (not (and (boundp 'use-my-lisp--match-hidden-arg) 'use-my-lisp--match-hidden-arg)) | |
| ad-do-it)) | |
| (ad-activate 'lisp--match-hidden-arg) | |
| ;; scratch buffer の hook | |
| (defun lisp-interaction-mode-hooks() | |
| (set (make-local-variable 'use-my-lisp--match-hidden-arg) t)) | |
| (add-hook 'lisp-interaction-mode-hook 'lisp-interaction-mode-hooks) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
font-lockで警告が出ていたので修正