aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-06-14 00:06:03 +0000
committerJuanma Barranquero2007-06-14 00:06:03 +0000
commit09c013efcb4897c7567828831ad47746cf6465a3 (patch)
tree261f002532ceebd20d546f4554dc35c3ffc51813
parent195eca781ccdeca3756434c28ba996112abda58f (diff)
downloademacs-09c013efcb4897c7567828831ad47746cf6465a3.tar.gz
emacs-09c013efcb4897c7567828831ad47746cf6465a3.zip
(follow-all-followers, follow-generic-filter): Remove redundant checks.
-rw-r--r--lisp/follow.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/follow.el b/lisp/follow.el
index 90555a786cc..048db9bf11a 100644
--- a/lisp/follow.el
+++ b/lisp/follow.el
@@ -912,7 +912,7 @@ of the way from the true end."
912 "Return all windows displaying the same buffer as the TESTWIN. 912 "Return all windows displaying the same buffer as the TESTWIN.
913The list contains only windows displayed in the same frame as TESTWIN. 913The list contains only windows displayed in the same frame as TESTWIN.
914If TESTWIN is nil the selected window is used." 914If TESTWIN is nil the selected window is used."
915 (or (and testwin (window-live-p testwin)) 915 (or (window-live-p testwin)
916 (setq testwin (selected-window))) 916 (setq testwin (selected-window)))
917 (let* ((top (frame-first-window (window-frame testwin))) 917 (let* ((top (frame-first-window (window-frame testwin)))
918 (win top) 918 (win top)
@@ -1968,7 +1968,7 @@ report this using the `report-emacs-bug' function."
1968 ;; If we're in follow mode, do our stuff. Select a new window and 1968 ;; If we're in follow mode, do our stuff. Select a new window and
1969 ;; redisplay. (Actually, it is redundant to check `buf', but I 1969 ;; redisplay. (Actually, it is redundant to check `buf', but I
1970 ;; feel it's more correct.) 1970 ;; feel it's more correct.)
1971 (if (and buf win (window-live-p win)) 1971 (if (and buf (window-live-p win))
1972 (progn 1972 (progn
1973 (set-buffer buf) 1973 (set-buffer buf)
1974 (if (and (boundp 'follow-mode) follow-mode) 1974 (if (and (boundp 'follow-mode) follow-mode)