aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2007-09-22 01:50:54 +0000
committerDan Nicolaescu2007-09-22 01:50:54 +0000
commit3e51f3086787e2fcc4ea7dce111bc9c330897bf7 (patch)
tree6c5edd3a73c3c5fcf84b49e0e4c4dbe13259f8a5
parent6dd697d9a5a0d749e26b0c371d0f96a47e1ed501 (diff)
downloademacs-3e51f3086787e2fcc4ea7dce111bc9c330897bf7.tar.gz
emacs-3e51f3086787e2fcc4ea7dce111bc9c330897bf7.zip
(speedbar-frame-mode)
(speedbar-frame-reposition-smartly) (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps) (speedbar-check-vc): Remove use of non-existent variable dframe-xemacsp, use (featurep 'xemacs) instead.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/speedbar.el12
2 files changed, 12 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 858f9b39c18..c076ffb14ad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
12007-09-22 Dan Nicolaescu <dann@ics.uci.edu> 12007-09-22 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * speedbar.el (speedbar-frame-mode)
4 (speedbar-frame-reposition-smartly)
5 (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
6 (speedbar-check-vc): Remove use of non-existent variable
7 dframe-xemacsp, use (featurep 'xemacs) instead.
8
3 * indent.el (indent-for-tab-command): Indent the region if 9 * indent.el (indent-for-tab-command): Indent the region if
4 transient-mark-mode and the region is active. 10 transient-mark-mode and the region is active.
5 11
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index c51d2ef9a80..6861615d468 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -994,7 +994,7 @@ supported at a time.
994 'speedbar-buffer 994 'speedbar-buffer
995 "Speedbar" 995 "Speedbar"
996 #'speedbar-frame-mode 996 #'speedbar-frame-mode
997 (if dframe-xemacsp 997 (if (featurep 'xemacs)
998 (append speedbar-frame-plist 998 (append speedbar-frame-plist
999 ;; This is a hack to get speedbar to iconfiy 999 ;; This is a hack to get speedbar to iconfiy
1000 ;; with the selected frame. 1000 ;; with the selected frame.
@@ -1020,7 +1020,7 @@ supported at a time.
1020 1020
1021(defun speedbar-frame-reposition-smartly () 1021(defun speedbar-frame-reposition-smartly ()
1022 "Reposition the speedbar frame to be next to the attached frame." 1022 "Reposition the speedbar frame to be next to the attached frame."
1023 (cond ((and dframe-xemacsp 1023 (cond ((and (featurep 'xemacs)
1024 (or (member 'left speedbar-frame-plist) 1024 (or (member 'left speedbar-frame-plist)
1025 (member 'top speedbar-frame-plist))) 1025 (member 'top speedbar-frame-plist)))
1026 (dframe-reposition-frame 1026 (dframe-reposition-frame
@@ -1029,7 +1029,7 @@ supported at a time.
1029 (cons (car (cdr (member 'left speedbar-frame-plist))) 1029 (cons (car (cdr (member 'left speedbar-frame-plist)))
1030 (car (cdr (member 'top speedbar-frame-plist))))) 1030 (car (cdr (member 'top speedbar-frame-plist)))))
1031 ) 1031 )
1032 ((and (not dframe-xemacsp) 1032 ((and (not (featurep 'xemacs))
1033 (or (assoc 'left speedbar-frame-parameters) 1033 (or (assoc 'left speedbar-frame-parameters)
1034 (assoc 'top speedbar-frame-parameters))) 1034 (assoc 'top speedbar-frame-parameters)))
1035 ;; if left/top were specified in the parameters, pass them 1035 ;; if left/top were specified in the parameters, pass them
@@ -1164,7 +1164,7 @@ return true without a query."
1164This gives visual indications of what is up. It EXPECTS the speedbar 1164This gives visual indications of what is up. It EXPECTS the speedbar
1165frame and window to be the currently active frame and window." 1165frame and window to be the currently active frame and window."
1166 (if (and (frame-live-p (speedbar-current-frame)) 1166 (if (and (frame-live-p (speedbar-current-frame))
1167 (or (not dframe-xemacsp) 1167 (or (not (featurep 'xemacs))
1168 (with-no-warnings 1168 (with-no-warnings
1169 (specifier-instance has-modeline-p))) 1169 (specifier-instance has-modeline-p)))
1170 speedbar-buffer) 1170 speedbar-buffer)
@@ -1252,7 +1252,7 @@ and the existence of packages."
1252 (if speedbar-previous-menu (easy-menu-remove speedbar-previous-menu)) 1252 (if speedbar-previous-menu (easy-menu-remove speedbar-previous-menu))
1253 (setq speedbar-previous-menu md) 1253 (setq speedbar-previous-menu md)
1254 ;; Now add the new menu 1254 ;; Now add the new menu
1255 (if (not dframe-xemacsp) 1255 (if (not (featurep 'xemacs))
1256 (easy-menu-define speedbar-menu-map (current-local-map) 1256 (easy-menu-define speedbar-menu-map (current-local-map)
1257 "Speedbar menu" md) 1257 "Speedbar menu" md)
1258 (easy-menu-add md (current-local-map)) 1258 (easy-menu-add md (current-local-map))
@@ -2915,7 +2915,7 @@ to add more types of version control systems."
2915 (not (or (and (featurep 'ange-ftp) 2915 (not (or (and (featurep 'ange-ftp)
2916 (string-match 2916 (string-match
2917 (car (symbol-value 2917 (car (symbol-value
2918 (if dframe-xemacsp 2918 (if (featurep 'xemacs)
2919 'ange-ftp-directory-format 2919 'ange-ftp-directory-format
2920 'ange-ftp-name-format))) 2920 'ange-ftp-name-format)))
2921 (expand-file-name default-directory))) 2921 (expand-file-name default-directory)))