help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs 23.0.92.1 and tool-bar problem


From: Michal
Subject: Emacs 23.0.92.1 and tool-bar problem
Date: Wed, 22 Apr 2009 17:22:21 +0200
User-agent: mozilla news reader

Hallo Group Members.

I want to add an xpm image to the tool-bar, just as I was adding it when
using emacs 22.

my ~/.emacs is very simple:

(message ".emacs invoked") ;;. to be sure that .emacs was invoked.

(define-key global-map [tool-bar shift1]
  '(menu-item "toolbar shift" (lambda () (interactive) (message "this is just a 
shift"))
              :image (image :type xpm :file "/home/user/blank.63x24.xpm")))


xpm image is no longer added when following emacs starts:
GNU Emacs 23.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of
2009-04-14 on localhost.localdomain

but when I explicitly invoke this sexp (with eval-last-sexp) image is
added.

Do You think it is a bug or something changed in emacs 23?

best regards,
Michal


reply via email to

[Prev in Thread] Current Thread [Next in Thread]