Skip to content

Commit e209c57

Browse files
authored
Merge pull request #434 from ejmr/remove/subword-mode-toggle
Remove Subword mode toggle
2 parents 161449b + 17a813c commit e209c57

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

php-mode.el

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,8 @@ local variables, set NIL."
422422
;;
423423
;; https://www.gnu.org/software/emacs/manual/html_node/ccmode/Subword-Movement.html
424424
;;
425-
;; for more information about Submode Word.
426-
(if (boundp 'subword-mode)
427-
(if subword-mode
428-
(subword-mode nil)
429-
(subword-mode t)))
425+
;; for more information about Subword mode.
426+
(define-key map (kbd "C-c C-w") 'subword-mode)
430427

431428
;; We inherit c-beginning-of-defun and c-end-of-defun from CC Mode
432429
;; but we have two replacement functions specifically for PHP. We

0 commit comments

Comments
 (0)