diff options
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/opascal.el | 3 | ||||
-rw-r--r-- | lisp/progmodes/vhdl-mode.el | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lisp/progmodes/opascal.el b/lisp/progmodes/opascal.el index 5ed719b5a78..fb1e501066d 100644 --- a/lisp/progmodes/opascal.el +++ b/lisp/progmodes/opascal.el @@ -275,8 +275,7 @@ nested routine.") (declare (debug t)) `(save-excursion (save-match-data - (let ((inhibit-point-motion-hooks t) - (deactivate-mark nil)) + (let ((deactivate-mark nil)) (progn ,@forms))))) diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index b763da3fbc5..a36bb7fbe44 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -2507,11 +2507,10 @@ consistent searching." (defmacro vhdl-prepare-search-2 (&rest body) "Enable case insensitive search, switch to syntax table that includes `_', -arrange to ignore `intangible' overlays, then execute BODY, and finally restore -the old environment. Used for consistent searching." +then execute BODY, and finally restore the old environment. +Used for consistent searching." (declare (debug t)) - `(let ((case-fold-search t) ; case insensitive search - (inhibit-point-motion-hooks t)) + `(let ((case-fold-search t)) ; case insensitive search ;; use extended syntax table (with-syntax-table vhdl-mode-ext-syntax-table ;; execute BODY safely |