emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

M-o M-g


From: Luc Teirlinck
Subject: M-o M-g
Date: Sat, 26 Mar 2005 21:44:07 -0600 (CST)

`goto-line' has recently gotten the convenient binding `M-g g'.  But
now `font-lock-fontify-block', which I personally use _way_ more often
than goto-line has the inconvenient binding `M-o M-g".  What about the
small patch below, which would make it `M-o M-o'.  I can install if desired.


===File ~/font-lock-diff====================================
*** font-lock.el        21 Mar 2005 14:09:05 -0600      1.235
--- font-lock.el        26 Mar 2005 21:09:48 -0600      
***************
*** 1097,1103 ****
          ((error quit) (message "Fontifying block...%s" error-data)))))))
  
  (if (boundp 'facemenu-keymap)
!     (define-key facemenu-keymap "\M-g" 'font-lock-fontify-block))
  
  ;;; End of Fontification functions.
  
--- 1097,1103 ----
          ((error quit) (message "Fontifying block...%s" error-data)))))))
  
  (if (boundp 'facemenu-keymap)
!     (define-key facemenu-keymap "\M-o" 'font-lock-fontify-block))
  
  ;;; End of Fontification functions.
  
============================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]