comparison lisp/tool-bar.el @ 110468:8ceac426a2d7

merge trunk
author Kenichi Handa <handa@m17n.org>
date Tue, 21 Sep 2010 20:45:10 +0900
parents c82718dcce89
children cdad894f9ed0
comparison
equal deleted inserted replaced
110384:8d0ea2f29215 110468:8ceac426a2d7
309 (interactive) 309 (interactive)
310 (popup-menu menu-bar-help-menu)) 310 (popup-menu menu-bar-help-menu))
311 'help 311 'help
312 :help "Pop up the Help menu"))) 312 :help "Pop up the Help menu")))
313 313
314 (if (featurep 'move-toolbar)
315 (defcustom tool-bar-position 'top
316 "Specify on which side the tool bar shall be.
317 Possible values are `top' (tool bar on top), `bottom' (tool bar at bottom),
318 `left' (tool bar on left) and `right' (tool bar on right).
319 Customize `tool-bar-mode' if you want to show or hide the tool bar."
320 :type '(choice (const top)
321 (const bottom)
322 (const left)
323 (const right))
324 :group 'frames
325 :initialize 'custom-initialize-default
326 :set (lambda (sym val)
327 (set-default sym val)
328 (modify-all-frames-parameters
329 (list (cons 'tool-bar-position val))))))
330
314 331
315 (provide 'tool-bar) 332 (provide 'tool-bar)
316 ;; arch-tag: 15f30f0a-d0d7-4d50-bbb7-f48fd0c8582f 333 ;; arch-tag: 15f30f0a-d0d7-4d50-bbb7-f48fd0c8582f
317 ;;; tool-bar.el ends here 334 ;;; tool-bar.el ends here