Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c86b6fd2
Commit
c86b6fd2
authored
Nov 21, 1999
by
Gerd Moellmann
Browse files
Use modern backquote syntax. Minor comment update.
parent
c29cefdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
20 deletions
+17
-20
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/follow.el
lisp/follow.el
+13
-20
No files found.
lisp/ChangeLog
View file @
c86b6fd2
1999-11-21 Anders Lindgren <andersl@andersl.com>
* follow.el: Use modern backquote syntax. Minor comment update.
1999-11-21 Gerd Moellmann <gerd@gnu.org>
* simple.el (with-syntax-table): Don't switch buffers.
...
...
lisp/follow.el
View file @
c86b6fd2
;;; follow.el --- Minor mode, Synchronize windows showing the same buffer.
;; Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
;; Copyright (C) 1995, 1996, 1997
, 1999
Free Software Foundation, Inc.
;; Author: Anders Lindgren <andersl@csd.uu.se>
;; Maintainer: Anders Lindgren <andersl@csd.uu.se>
;; Created: 25 May 1995
;; Version: 1.7
;; Author: Anders Lindgren <andersl@andersl.com>
;; Maintainer: Anders Lindgren <andersl@andersl.com>
;; Created: 1995-05-25
;; Keywords: display, window, minor-mode, convenience
;;
Date: 4 Jun
1997
;;
Last Changed:
199
9
-11-1
7
;; This file is part of GNU Emacs.
...
...
@@ -52,12 +51,6 @@
;; and being able to use 144 lines instead of the normal 72... (your
;; mileage may vary).
;; The latest version, and a demonstration, are avaiable at:
;;
;; http://www.csd.uu.se/~andersl/emacs.shtml
;; To test this package, make sure `follow' is loaded, or will be
;; autoloaded when activated (see below). Then do the following:
;;
...
...
@@ -392,12 +385,12 @@ Used by `follow-window-size-change'.")
(
eval-when-compile
(
require
'reporter
))
(
defun
follow-submit-feedback
()
"Submit feedback on Follow mode to the author: andersl@
csd.uu.se
"
"Submit feedback on Follow mode to the author: andersl@
andersl.com
"
(
interactive
)
(
require
'reporter
)
(
and
(
y-or-n-p
"Do you really want to submit a report on Follow mode? "
)
(
reporter-submit-bug-report
"Anders Lindgren <andersl@
csd.uu.se
>"
"Anders Lindgren <andersl@
andersl.com
>"
"follow.el"
'
(
post-command-hook
post-command-idle-hook
...
...
@@ -1775,12 +1768,12 @@ non-first windows in Follow Mode."
scroll-bar-set-window-start)))
(while cmds
(eval
(`
(defadvice
(,
(intern (symbol-name (car cmds)))
)
`
(defadvice
,
(intern (symbol-name (car cmds)))
(after
(,
(intern (concat "
follow-
" (symbol-name (car cmds))))
)
,
(intern (concat "
follow-
" (symbol-name (car cmds))))
activate)
"
Adviced
by
Follow
Mode.
"
(follow-redraw-after-event (ad-get-arg 0))))
)
(follow-redraw-after-event (ad-get-arg 0))))
(setq cmds (cdr cmds))))
...
...
@@ -1825,12 +1818,12 @@ non-first windows in Follow Mode."
(while cmds
(eval
(`
(defadvice
(,
(intern (symbol-name (car cmds)))
)
`
(defadvice
,
(intern (symbol-name (car cmds)))
(after
(,
(intern (concat "
follow-
" (symbol-name (car cmds))))
)
,
(intern (concat "
follow-
" (symbol-name (car cmds))))
activate)
"
Adviced
by
`
follow-mode
'.
"
(follow-xemacs-scrollbar-support (ad-get-arg 0))))
)
(follow-xemacs-scrollbar-support (ad-get-arg 0))))
(setq cmds (cdr cmds))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment