emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/toolbar/tool-bar.el


From: Per Abrahamsen
Subject: [Emacs-diffs] Changes to emacs/lisp/toolbar/tool-bar.el
Date: Mon, 11 Feb 2002 11:48:01 -0500

Index: emacs/lisp/toolbar/tool-bar.el
diff -c emacs/lisp/toolbar/tool-bar.el:1.23 emacs/lisp/toolbar/tool-bar.el:1.24
*** emacs/lisp/toolbar/tool-bar.el:1.23 Thu Aug 30 02:50:59 2001
--- emacs/lisp/toolbar/tool-bar.el      Mon Feb 11 11:47:55 2002
***************
*** 1,6 ****
  ;;; tool-bar.el --- setting up the tool bar
  ;;
! ;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
  ;;
  ;; Author: Dave Love <address@hidden>
  ;; Keywords: mouse frames
--- 1,6 ----
  ;;; tool-bar.el --- setting up the tool bar
  ;;
! ;; Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
  ;;
  ;; Author: Dave Love <address@hidden>
  ;; Keywords: mouse frames
***************
*** 66,71 ****
--- 66,77 ----
                (display-graphic-p)
                (= 1 (length (default-value 'tool-bar-map)))) ; not yet setup
           (tool-bar-setup))))
+ 
+ ;;; `tool-bar-mode' doesn't really have a standard value, as it depend
+ ;;; on where and how Emacs was started.  By removing the standard
+ ;;; value, we ensure that customize will always save it.
+ ;; -- Per Abrahamsen <address@hidden> 2002-02-11.
+ (put 'tool-bar-mode 'standard-value nil)
  
  (defvar tool-bar-map (make-sparse-keymap)
    "Keymap for the tool bar.



reply via email to

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