[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9670: Bad interaction between defining-kbd-macro and desktop
From: |
Antoine Levitt |
Subject: |
bug#9670: Bad interaction between defining-kbd-macro and desktop |
Date: |
Tue, 04 Oct 2011 10:20:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
C-x (
M-x desktop-save
will result in the desktop file being unusable unless defining-kbd-macro
is removed manually. Adding defining-kbd-macro to
desktop-minor-mode-table does not change the problem. I believe this is
because defining-kbd-macro does not follow the usual convention for
minor modes, and therefore defeats this code in desktop-create-buffer:
(let ((handler (cdr (assq minor-mode desktop-minor-mode-handlers))))
(if handler
(funcall handler desktop-buffer-locals)
(when (functionp minor-mode)
(funcall minor-mode 1))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#9670: Bad interaction between defining-kbd-macro and desktop,
Antoine Levitt <=