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
9c610b03
Commit
9c610b03
authored
Oct 11, 1999
by
Stefan Monnier
Browse files
(vc-backend-diff): get rid of the autoloaded advice.
parent
96e7a919
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/diff-mode.el
lisp/diff-mode.el
+0
-13
No files found.
lisp/ChangeLog
View file @
9c610b03
1999-10-11 Stefan Monnier <monnier@cs.yale.edu>
* diff-mode.el (vc-backend-diff): get rid of the autoloaded advice.
1999-10-09 Stefan Monnier <monnier@cs.yale.edu>
* Makefile (setwins): abstract out the command to find subdirectories
...
...
lisp/diff-mode.el
View file @
9c610b03
...
...
@@ -754,19 +754,6 @@ See `after-change-functions' for the meaning of BEG, END and LEN."
(
diff-fixup-modifs
(
point
)
(
cdr
diff-unhandled-changes
))))
(
setq
diff-unhandled-changes
nil
)))
;;;###autoload
(
defadvice
vc-backend-diff
(
around
diff-mode-vc
activate
)
;; BEWARE!! when this is autoloaded, CL might not be available
(
condition-case
()
(
with-current-buffer
"*vc-diff*"
(
setq
buffer-read-only
nil
))
(
error
nil
))
ad-do-it
(
condition-case
()
(
with-current-buffer
"*vc-diff*"
(
if
(
memq
major-mode
'
(
fundamental-mode
diff-mode
))
(
diff-mode
)))
(
error
nil
)))
;;;;
;;;; The main function
;;;;
...
...
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