aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/speedbar.el12
2 files changed, 14 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7950d5e4dbc..5bde6631876 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12005-11-30 Romain Francoise <romain@orebokech.com> 12005-11-30 Romain Francoise <romain@orebokech.com>
2 2
3 * speedbar.el (speedbar-default-position): New defcustom.
4 (speedbar-frame-reposition-smartly): Use it.
5
3 * dframe.el (dframe-reposition-frame-emacs): Fix position 6 * dframe.el (dframe-reposition-frame-emacs): Fix position
4 computation for 'left location. 7 computation for 'left location.
5 Update copyright year. 8 Update copyright year.
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index e09c0d734cc..a48f480a756 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -331,6 +331,16 @@ display is used instead."
331 :group 'speedbar 331 :group 'speedbar
332 :type 'boolean) 332 :type 'boolean)
333 333
334(defcustom speedbar-default-position 'left-right
335 "*Default position of the speedbar frame.
336Possible values are 'left, 'right or 'left-right.
337If value is 'left-right, the most suitable location is
338determined automatically."
339 :group 'speedbar
340 :type '(radio (const :tag "Automatic" left-right)
341 (const :tag "Left" left)
342 (const :tag "Right" right)))
343
334(defcustom speedbar-sort-tags nil 344(defcustom speedbar-sort-tags nil
335 "*If non-nil, sort tags in the speedbar display. *Obsolete*. 345 "*If non-nil, sort tags in the speedbar display. *Obsolete*.
336Use `semantic-tag-hierarchy-method' instead." 346Use `semantic-tag-hierarchy-method' instead."
@@ -967,7 +977,7 @@ supported at a time.
967 (t 977 (t
968 (dframe-reposition-frame speedbar-frame 978 (dframe-reposition-frame speedbar-frame
969 (dframe-attached-frame speedbar-frame) 979 (dframe-attached-frame speedbar-frame)
970 'left-right)))) 980 speedbar-default-position))))
971 981
972(defun speedbar-detach () 982(defun speedbar-detach ()
973 "Detach the current Speedbar from auto-updating. 983 "Detach the current Speedbar from auto-updating.