From: Francois Fleuret Date: Sun, 16 Jun 2019 14:17:25 +0000 (-0700) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=138cf1ad3e5ec55b45cc4a221088ddd5fdf90eda;p=elisp.git Update. --- diff --git a/emacs.el b/emacs.el index 94e05a7..759ee9c 100644 --- a/emacs.el +++ b/emacs.el @@ -1461,6 +1461,16 @@ universal argument starts xfig even if the .fig does not exist" (process-kill-without-query xdvi-process)))) )) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(defun ff/save-window-configuration (universal) (interactive "P") + (if universal + (setq ff/window-configuration (current-window-configuration)) + (set-window-configuration ff/window-configuration)) + ) + +(define-key global-map [(control =)] 'ff/save-window-configuration) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tex mode