diff options
| author | Juanma Barranquero | 2003-02-18 12:49:26 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-02-18 12:49:26 +0000 |
| commit | 0fe6068fefb6eb1cfe089a0a5094b2ce0ed0eed1 (patch) | |
| tree | 63064bc022cefb2cf915e176b5357a1ce5814db0 | |
| parent | af69a3b5a2e5e98bcc983915518877630db820ac (diff) | |
| download | emacs-0fe6068fefb6eb1cfe089a0a5094b2ce0ed0eed1.tar.gz emacs-0fe6068fefb6eb1cfe089a0a5094b2ce0ed0eed1.zip | |
(cperl-electric-keyword, cperl-electric-pod, cperl-do-auto-fill): Fix character
constants.
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index bde44cbea91..a593d94ab98 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -1835,7 +1835,7 @@ to nil." | |||
| 1835 | (let ((beg (save-excursion (beginning-of-line) (point))) | 1835 | (let ((beg (save-excursion (beginning-of-line) (point))) |
| 1836 | (dollar (and (eq last-command-char ?$) | 1836 | (dollar (and (eq last-command-char ?$) |
| 1837 | (eq this-command 'self-insert-command))) | 1837 | (eq this-command 'self-insert-command))) |
| 1838 | (delete (and (memq last-command-char '(?\ ?\n ?\t ?\f)) | 1838 | (delete (and (memq last-command-char '(?\ ?\n ?\t ?\f)) |
| 1839 | (memq this-command '(self-insert-command newline)))) | 1839 | (memq this-command '(self-insert-command newline)))) |
| 1840 | my do) | 1840 | my do) |
| 1841 | (and (save-excursion | 1841 | (and (save-excursion |
| @@ -1905,7 +1905,7 @@ to nil." | |||
| 1905 | 1905 | ||
| 1906 | (defun cperl-electric-pod () | 1906 | (defun cperl-electric-pod () |
| 1907 | "Insert a POD chunk appropriate after a =POD directive." | 1907 | "Insert a POD chunk appropriate after a =POD directive." |
| 1908 | (let ((delete (and (memq last-command-char '(?\ ?\n ?\t ?\f)) | 1908 | (let ((delete (and (memq last-command-char '(?\ ?\n ?\t ?\f)) |
| 1909 | (memq this-command '(self-insert-command newline)))) | 1909 | (memq this-command '(self-insert-command newline)))) |
| 1910 | head1 notlast name p really-delete over) | 1910 | head1 notlast name p really-delete over) |
| 1911 | (and (save-excursion | 1911 | (and (save-excursion |
| @@ -4232,7 +4232,7 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 4232 | fill-column) | 4232 | fill-column) |
| 4233 | (let ((c (save-excursion (beginning-of-line) | 4233 | (let ((c (save-excursion (beginning-of-line) |
| 4234 | (cperl-to-comment-or-eol) (point))) | 4234 | (cperl-to-comment-or-eol) (point))) |
| 4235 | (s (memq (following-char) '(?\ ?\t))) marker) | 4235 | (s (memq (following-char) '(?\ ?\t))) marker) |
| 4236 | (if (>= c (point)) nil | 4236 | (if (>= c (point)) nil |
| 4237 | (setq marker (point-marker)) | 4237 | (setq marker (point-marker)) |
| 4238 | (cperl-fill-paragraph) | 4238 | (cperl-fill-paragraph) |
| @@ -4241,11 +4241,11 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 4241 | (if (bolp) (progn (re-search-forward "#+[ \t]*") | 4241 | (if (bolp) (progn (re-search-forward "#+[ \t]*") |
| 4242 | (goto-char (match-end 0)))) | 4242 | (goto-char (match-end 0)))) |
| 4243 | ;; Following space could have gone: | 4243 | ;; Following space could have gone: |
| 4244 | (if (or (not s) (memq (following-char) '(?\ ?\t))) nil | 4244 | (if (or (not s) (memq (following-char) '(?\ ?\t))) nil |
| 4245 | (insert " ") | 4245 | (insert " ") |
| 4246 | (backward-char 1)) | 4246 | (backward-char 1)) |
| 4247 | ;; Previous space could have gone: | 4247 | ;; Previous space could have gone: |
| 4248 | (or (memq (preceding-char) '(?\ ?\t)) (insert " ")))))) | 4248 | (or (memq (preceding-char) '(?\ ?\t)) (insert " ")))))) |
| 4249 | 4249 | ||
| 4250 | (defun cperl-imenu-addback (lst &optional isback name) | 4250 | (defun cperl-imenu-addback (lst &optional isback name) |
| 4251 | ;; We suppose that the lst is a DAG, unless the first element only | 4251 | ;; We suppose that the lst is a DAG, unless the first element only |