diff options
| author | Glenn Morris <rgm@gnu.org> | 2018-03-08 20:03:13 -0500 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2018-03-08 20:03:13 -0500 |
| commit | cb0f6348956761880069e8ff7ed5086a177a521a (patch) | |
| tree | b208de7eccfd8394b0ec33e7d6c2b495045316ac /lisp/net/quickurl.el | |
| parent | f0c590b857415e94a8ed9ded0e9ba2f91ea2a3c7 (diff) | |
| download | emacs-cb0f6348956761880069e8ff7ed5086a177a521a.tar.gz | |
Replace uses of the obsolete local-write-file-hooks
* lisp/net/quickurl.el (quickurl-reread-hook-postfix):
* lisp/progmodes/ebrowse.el (ebrowse-tree-mode)
(ebrowse-write-file-hook-fn):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init):
* lisp/vc/ediff-merg.el (ediff-set-merge-mode):
* lisp/vc/ediff-util.el (ediff-setup):
Replace local-write-file-hooks, obsolete since 22.1,
with write-file-functions.
Diffstat (limited to 'lisp/net/quickurl.el')
| -rw-r--r-- | lisp/net/quickurl.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el index abfca383e09..a5ba26bcdc5 100644 --- a/lisp/net/quickurl.el +++ b/lisp/net/quickurl.el @@ -155,7 +155,7 @@ could be used here." (defconst quickurl-reread-hook-postfix " ;; Local Variables: -;; eval: (progn (require 'quickurl) (add-hook 'local-write-file-hooks (lambda () (quickurl-read) nil))) +;; eval: (progn (require 'quickurl) (add-hook 'write-file-functions (lambda () (quickurl-read) nil) nil t)) ;; End: " "Example `quickurl-postfix' text that adds a local variable to the |
