Hi, Lately, I have been facing this issue in the emacs built from master branch. I haven't yet seen this error occur on emacs 24.4. I see it happen now and then and haven't been able to consistently reproduce it but here is the backtrace. I have not been able to create this error on "emacs -Q". I get this error when I am trying to quit isearch. I don't know if this happens when I try to quit after I tried to search for a term that failed to be found in the buffer or when I try to quit after a successful search hit. But once this started happening, repeated C-g hits keep on throwing this error and I can't quit isearch. Then the only way is to restart emacs. Debugger entered--Lisp error: (void-variable cursor-sensor-inhibit) isearch-done(t) isearch-cancel() isearch-abort() funcall-interactively(isearch-abort) #(isearch-abort nil nil) ad-Advice-call-interactively(# isearch-abort nil nil) apply(ad-Advice-call-interactively # (isearch-abort nil nil)) call-interactively(isearch-abort nil nil) command-execute(isearch-abort) In GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2015-05-05 on ... Windowing system distributor `The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Client release 5.10 (Tikanga) Configured using: `configure --prefix=/home/kmodi/usr_local/apps/emacs/master CPPFLAGS=-fgnu89-inline' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Minor modes in effect: global-auto-complete-mode: t minibuffer-line-mode: t guide-key-mode: t desktop-save-mode: t pdf-occur-global-minor-mode: t global-anzu-mode: t anzu-mode: t recentf-mode: t winner-mode: t global-undo-tree-mode: t undo-tree-mode: t projectile-global-mode: t projectile-mode: t global-page-break-lines-mode: t keyfreq-autosave-mode: t keyfreq-mode: t diff-auto-refine-mode: t ido-ubiquitous-mode: t ido-vertical-mode: t flx-ido-mode: t global-hungry-delete-mode: t hungry-delete-mode: t volatile-highlights-mode: t global-hi-lock-mode: t hi-lock-mode: t global-hardcore-mode: t hardcore-mode: t drag-stuff-global-mode: t drag-stuff-mode: t ido-everywhere: t ace-window-display-mode: t global-adaptive-wrap-prefix-mode: t adaptive-wrap-prefix-mode: t display-time-mode: t popwin-mode: t which-function-mode: t shell-dirtrack-mode: t global-modi-mode: t modi-mode: t override-global-mode: t save-place-mode: t show-paren-mode: t delete-selection-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t