禁用光标和调用函数接口的emacs配置

关于调用函数接口,按下esc + f  后就和按下esc +x  效果差不多   ,比如都可以调用函数indent-whole

(defun  kill-now  ()                                                                                                               
  (interactive)                                                                                                                    
  (kill-buffer  (current-buffer)))                                                                                                 
                                                                                                                                   
                                                                                                                                   
(global-set-key [left]  'kill-now)                                                                                                 
(global-set-key [right]  'kill-now)                                                                                                
(global-set-key [home]   'kill-now)                                                                                                
(global-set-key [end]  'kill-now)                                                                                                  
                                                                                                                                   
(defun  wrapfuncall  ()                                                                                                            
  (interactive)                                                                                                                    
  (print  'chenbing)                                                                                                               
  (funcall  (read)))                                                                                                               
(global-set-key [(meta m)] 'wrapfuncall ) 

 

你可能感兴趣的:(综合,emacs)