aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-11-15 12:19:08 +0000
committerStefan Monnier2001-11-15 12:19:08 +0000
commit1cd04440b5d86bdd2a83b71515b2d6d51e26db82 (patch)
tree66fdc65a18d3a8c93841f88db5a45b6722c6e484
parent34e5d0af4e330773b58639bff9a4a5f3bc4c2e42 (diff)
downloademacs-1cd04440b5d86bdd2a83b71515b2d6d51e26db82.tar.gz
emacs-1cd04440b5d86bdd2a83b71515b2d6d51e26db82.zip
(server-process-filter): Run pore/post-comment-hook
before/after visiting the file.
-rw-r--r--lisp/server.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/server.el b/lisp/server.el
index a9aaa69e712..ec7fdafb851 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -284,7 +284,9 @@ Prefix arg means just kill any existing server communications subprocess."
284 files)) 284 files))
285 (setq lineno 1) 285 (setq lineno 1)
286 (setq columnno 0)))))) 286 (setq columnno 0))))))
287 (run-hooks 'pre-command-hook)
287 (server-visit-files files client nowait) 288 (server-visit-files files client nowait)
289 (run-hooks 'post-command-hook)
288 ;; CLIENT is now a list (CLIENTNUM BUFFERS...) 290 ;; CLIENT is now a list (CLIENTNUM BUFFERS...)
289 (if (null (cdr client)) 291 (if (null (cdr client))
290 ;; This client is empty; get rid of it immediately. 292 ;; This client is empty; get rid of it immediately.