[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emulation/viper-util.el
From: |
Michael Kifer |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emulation/viper-util.el |
Date: |
Tue, 15 Nov 2005 13:44:32 -0500 |
Index: emacs/lisp/emulation/viper-util.el
diff -c emacs/lisp/emulation/viper-util.el:1.58
emacs/lisp/emulation/viper-util.el:1.59
*** emacs/lisp/emulation/viper-util.el:1.58 Tue Sep 20 17:47:26 2005
--- emacs/lisp/emulation/viper-util.el Tue Nov 15 18:44:30 2005
***************
*** 1242,1249 ****
;; Characters that should not be considered as part of the word, in
reformed-vi
;; syntax mode.
(defconst viper-non-word-characters-reformed-vi
! "address@hidden&*()-+=|\\~`{}[];:'\",<.>/?")
;; These are characters that are not to be considered as parts of a word in
;; Viper.
;; Set each time state changes and at loading time
--- 1242,1253 ----
;; Characters that should not be considered as part of the word, in
reformed-vi
;; syntax mode.
+ ;; Note: \\ (quoted \) must appear before `-' because this string is listified
+ ;; into characters at some point and then put back to string. The result is
+ ;; used in skip-chars-forward, which treats - specially. Here we achieve the
+ ;; effect of quoting - and preventing it from being special.
(defconst viper-non-word-characters-reformed-vi
! "address@hidden&*()\\-+=|\\~`{}[];:'\",<.>/?")
;; These are characters that are not to be considered as parts of a word in
;; Viper.
;; Set each time state changes and at loading time
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/emulation/viper-util.el,
Michael Kifer <=