changeset 149:f356969fc447

add missing undo keybinding for po-mode
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 13 Oct 2016 15:58:53 -0400
parents dafc9995fdad
children 4fa988afce81
files dotemacs.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dotemacs.el
+++ b/dotemacs.el
@@ -164,6 +164,12 @@
 (setq default-major-mode 'text-mode)
 (global-unset-key "\C-z")
 
+;; po-mode seems to have forgotten to bind this key, because it does
+;; bind C-_
+(add-hook 'po-mode-hook
+          (lambda ()
+            (local-set-key (kbd "C-/") 'po-undo)))
+
 ;; Don't like it when several windows open upon emacs startup
 ;; (Thanks theseb of #emacs)
 (add-hook 'window-setup-hook 'delete-other-windows)