summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2015-10-04 09:54:44 -0400
committerKen Raeburn <raeburn@raeburn.org>2015-10-08 01:44:43 -0400
commitee529429775037fb2d9e78e7c86db21d7b3f4bdd (patch)
tree2e7de8391a1ad1f3677abdcbd946d675510ae85a /lisp/emacs-lisp/syntax.el
parente23ed19ff933c35111f3a806b4104fee8ef42f55 (diff)
downloademacs-ee529429775037fb2d9e78e7c86db21d7b3f4bdd.tar.gz
emacs-ee529429775037fb2d9e78e7c86db21d7b3f4bdd.tar.bz2
emacs-ee529429775037fb2d9e78e7c86db21d7b3f4bdd.zip
Reduce some unnecessary X calls.
* src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry call. If border width is wanted, get it from the XGetGeometry call instead of calling XGetWindowAttributes on the same window. Skip some X calls if we've already detected an error from the X server. * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p. (handle_one_xevent): Delete XSync call before x_uncatch_errors.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions