Thread: [CEDET-devel] [PATCH] fix error parameters add to function desktop-minor-mode-handlers
Brought to you by:
zappo
From: S.P.Tseng <de...@gm...> - 2008-11-27 08:15:13
|
I get error "desktop-create-buffer: Invalid function: (semantic-desktop-ignore-this-minor-mode)", and I found that the parameter of function desktop-minor-mode-handlers should be for form of (MINOR-MODE . RESTORE-FUNCTION) So, the line at the end of the function semantic-add-minor-mode in file semantic-util-modes.el. should be (cons toggle 'semantic-desktop-ignore-this-minor-mode))) instead of (list toggle 'semantic-desktop-ignore-this-minor-mode))) forgive me not to create a diff file. -- |
From: Eric M. L. <er...@si...> - 2008-11-27 12:08:26
|
Thanks. I've checked in this change. Eric >>> "S.P.Tseng" <de...@gm...> seems to think that: > >I get error "desktop-create-buffer: Invalid function: >(semantic-desktop-ignore-this-minor-mode)", and I found that the parameter of >function desktop-minor-mode-handlers should be for form of (MINOR-MODE . >RESTORE-FUNCTION) > >So, the line at the end of the function semantic-add-minor-mode in file >semantic-util-modes.el. should be >(cons toggle 'semantic-desktop-ignore-this-minor-mode))) >instead of >(list toggle 'semantic-desktop-ignore-this-minor-mode))) > >forgive me not to create a diff file. > -- Eric Ludlam: er...@si... Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net |