aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-11-21 16:46:24 +0000
committerGerd Moellmann1999-11-21 16:46:24 +0000
commitc86b6fd20af0cf9b307469a3bcd85b9efc250e9e (patch)
tree9df75555142cf2c38b4c0ce71865ff96755fbccd
parentc29cefdfa0bdaf07067afa074c89adf120c1b1f9 (diff)
downloademacs-c86b6fd20af0cf9b307469a3bcd85b9efc250e9e.tar.gz
emacs-c86b6fd20af0cf9b307469a3bcd85b9efc250e9e.zip
Use modern backquote syntax. Minor comment update.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/follow.el33
2 files changed, 17 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fadfd09a6f3..6a3196b7561 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
11999-11-21 Anders Lindgren <andersl@andersl.com>
2
3 * follow.el: Use modern backquote syntax. Minor comment update.
4
11999-11-21 Gerd Moellmann <gerd@gnu.org> 51999-11-21 Gerd Moellmann <gerd@gnu.org>
2 6
3 * simple.el (with-syntax-table): Don't switch buffers. 7 * simple.el (with-syntax-table): Don't switch buffers.
diff --git a/lisp/follow.el b/lisp/follow.el
index fcdfd4db2e9..dd2a17c9b0b 100644
--- a/lisp/follow.el
+++ b/lisp/follow.el
@@ -1,13 +1,12 @@
1;;; follow.el --- Minor mode, Synchronize windows showing the same buffer. 1;;; follow.el --- Minor mode, Synchronize windows showing the same buffer.
2 2
3;; Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
4 4
5;; Author: Anders Lindgren <andersl@csd.uu.se> 5;; Author: Anders Lindgren <andersl@andersl.com>
6;; Maintainer: Anders Lindgren <andersl@csd.uu.se> 6;; Maintainer: Anders Lindgren <andersl@andersl.com>
7;; Created: 25 May 1995 7;; Created: 1995-05-25
8;; Version: 1.7
9;; Keywords: display, window, minor-mode, convenience 8;; Keywords: display, window, minor-mode, convenience
10;; Date: 4 Jun 1997 9;; Last Changed: 1999-11-17
11 10
12;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
13 12
@@ -52,12 +51,6 @@
52;; and being able to use 144 lines instead of the normal 72... (your 51;; and being able to use 144 lines instead of the normal 72... (your
53;; mileage may vary). 52;; mileage may vary).
54 53
55
56;; The latest version, and a demonstration, are avaiable at:
57;;
58;; http://www.csd.uu.se/~andersl/emacs.shtml
59
60
61;; To test this package, make sure `follow' is loaded, or will be 54;; To test this package, make sure `follow' is loaded, or will be
62;; autoloaded when activated (see below). Then do the following: 55;; autoloaded when activated (see below). Then do the following:
63;; 56;;
@@ -392,12 +385,12 @@ Used by `follow-window-size-change'.")
392(eval-when-compile (require 'reporter)) 385(eval-when-compile (require 'reporter))
393 386
394(defun follow-submit-feedback () 387(defun follow-submit-feedback ()
395 "Submit feedback on Follow mode to the author: andersl@csd.uu.se" 388 "Submit feedback on Follow mode to the author: andersl@andersl.com"
396 (interactive) 389 (interactive)
397 (require 'reporter) 390 (require 'reporter)
398 (and (y-or-n-p "Do you really want to submit a report on Follow mode? ") 391 (and (y-or-n-p "Do you really want to submit a report on Follow mode? ")
399 (reporter-submit-bug-report 392 (reporter-submit-bug-report
400 "Anders Lindgren <andersl@csd.uu.se>" 393 "Anders Lindgren <andersl@andersl.com>"
401 "follow.el" 394 "follow.el"
402 '(post-command-hook 395 '(post-command-hook
403 post-command-idle-hook 396 post-command-idle-hook
@@ -1775,12 +1768,12 @@ non-first windows in Follow Mode."
1775 scroll-bar-set-window-start))) 1768 scroll-bar-set-window-start)))
1776 (while cmds 1769 (while cmds
1777 (eval 1770 (eval
1778 (` (defadvice (, (intern (symbol-name (car cmds)))) 1771 `(defadvice ,(intern (symbol-name (car cmds)))
1779 (after 1772 (after
1780 (, (intern (concat "follow-" (symbol-name (car cmds))))) 1773 ,(intern (concat "follow-" (symbol-name (car cmds))))
1781 activate) 1774 activate)
1782 "Adviced by Follow Mode." 1775 "Adviced by Follow Mode."
1783 (follow-redraw-after-event (ad-get-arg 0))))) 1776 (follow-redraw-after-event (ad-get-arg 0))))
1784 (setq cmds (cdr cmds)))) 1777 (setq cmds (cdr cmds))))
1785 1778
1786 1779
@@ -1825,12 +1818,12 @@ non-first windows in Follow Mode."
1825 1818
1826 (while cmds 1819 (while cmds
1827 (eval 1820 (eval
1828 (` (defadvice (, (intern (symbol-name (car cmds)))) 1821 `(defadvice ,(intern (symbol-name (car cmds)))
1829 (after 1822 (after
1830 (, (intern (concat "follow-" (symbol-name (car cmds))))) 1823 ,(intern (concat "follow-" (symbol-name (car cmds))))
1831 activate) 1824 activate)
1832 "Adviced by `follow-mode'." 1825 "Adviced by `follow-mode'."
1833 (follow-xemacs-scrollbar-support (ad-get-arg 0))))) 1826 (follow-xemacs-scrollbar-support (ad-get-arg 0))))
1834 (setq cmds (cdr cmds)))) 1827 (setq cmds (cdr cmds))))
1835 1828
1836 1829