[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el |
Date: |
Wed, 29 Jun 2005 09:53:36 -0400 |
Index: emacs/lisp/progmodes/cperl-mode.el
diff -c emacs/lisp/progmodes/cperl-mode.el:1.71
emacs/lisp/progmodes/cperl-mode.el:1.72
*** emacs/lisp/progmodes/cperl-mode.el:1.71 Wed Jun 29 07:59:36 2005
--- emacs/lisp/progmodes/cperl-mode.el Wed Jun 29 13:53:36 2005
***************
*** 4355,4361 ****
fill-column)
(let ((c (save-excursion (beginning-of-line)
(cperl-to-comment-or-eol) (point)))
! (s (memq (following-char) '(?\ ?\t))) marker)
(if (>= c (point))
;; Don't break line inside code: only inside comment.
nil
--- 4355,4361 ----
fill-column)
(let ((c (save-excursion (beginning-of-line)
(cperl-to-comment-or-eol) (point)))
! (s (memq (following-char) '(?\s ?\t))) marker)
(if (>= c (point))
;; Don't break line inside code: only inside comment.
nil
***************
*** 4366,4376 ****
(if (bolp) (progn (re-search-forward "#+[ \t]*")
(goto-char (match-end 0))))
;; Following space could have gone:
! (if (or (not s) (memq (following-char) '(?\ ?\t))) nil
(insert " ")
(backward-char 1))
;; Previous space could have gone:
! (or (memq (preceding-char) '(?\ ?\t)) (insert " "))))))
(defun cperl-imenu-addback (lst &optional isback name)
;; We suppose that the lst is a DAG, unless the first element only
--- 4366,4376 ----
(if (bolp) (progn (re-search-forward "#+[ \t]*")
(goto-char (match-end 0))))
;; Following space could have gone:
! (if (or (not s) (memq (following-char) '(?\s ?\t))) nil
(insert " ")
(backward-char 1))
;; Previous space could have gone:
! (or (memq (preceding-char) '(?\s ?\t)) (insert " "))))))
(defun cperl-imenu-addback (lst &optional isback name)
;; We suppose that the lst is a DAG, unless the first element only
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, Juanma Barranquero, 2005/06/10
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, Mark A . Hershberger, 2005/06/12
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, Miles Bader, 2005/06/14
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, Miles Bader, 2005/06/14
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, Juanma Barranquero, 2005/06/16
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, Stefan Monnier, 2005/06/29
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el,
Juanma Barranquero <=