Commit 5434c512 authored by David Byers's avatar David Byers

Fix bug 1512

Detailed changes:
> 2005-02-15  David Byers  <byers@lysator.liu.se>
>
> 	Fix bug 1512:
> 	* menus.el (lyskom-define-menu-xemacs): Handle case when
> 	current-local-map is nil (don't attempt to guess shortcuts in this
> 	case).
>
parent 75b45810
2005-02-15 David Byers <byers@lysator.liu.se>
Fix bug 1512:
* menus.el (lyskom-define-menu-xemacs): Handle case when
current-local-map is nil (don't attempt to guess shortcuts in this
case).
2005-02-14 David Byers <byers@lysator.liu.se>
Fix ugliness when default server is unset:
......
......@@ -464,7 +464,8 @@
(defun lyskom-define-menu-xemacs (menus &optional specials)
(let ((specials (or specials
(lyskom-menu-guess-shortcuts (current-local-map)))))
(when (current-local-map)
(lyskom-menu-guess-shortcuts (current-local-map))))))
(cond ((null (car menus)))
((listp (car menus)) ; Menu bar
(mapcar (lambda (x) (lyskom-define-menu-xemacs x specials)) menus))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment