Mercurial > emacs
changeset 67350:946119cea694
(c-emacs-features): Don't assume point-min==1.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 06 Dec 2005 16:54:20 +0000 |
parents | 8fd060c85b66 |
children | dd40d7037ea3 |
files | lisp/ChangeLog lisp/progmodes/cc-defs.el |
diffstat | 2 files changed, 13 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Dec 06 15:53:58 2005 +0000 +++ b/lisp/ChangeLog Tue Dec 06 16:54:20 2005 +0000 @@ -1,3 +1,7 @@ +2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/cc-defs.el (c-emacs-features): Don't assume point-min==1. + 2005-12-06 Nozomu Ando <nand@mac.com> (tiny patch) * mail/smtpmail.el (smtpmail-try-auth-methods): Make password @@ -11,8 +15,7 @@ 2005-12-06 Carsten Dominik <dominik@science.uva.nl> * textmodes/org.el: (org-occur-highlights): New variable. - (org-highlight-new-match, org-remove-occur-highlights): New - functions. + (org-highlight-new-match, org-remove-occur-highlights): New functions. (org-highlight-sparse-tree-matches): New option. (org-do-occur): New function. (org-get-heading): Make it work also at beginning of line. @@ -22,7 +25,7 @@ (org-select-this-todo-keyword): New variable. (org-todo-list): New command. (org-shiftright, org-shiftleft): New commands. - (org-agenda-todo): Added prefix argument. + (org-agenda-todo): Add prefix argument. (org-show-hierarchy-above): New option. (org-show-todo-tree): Numerical prefix creates tree for specific TODO keyword. @@ -32,14 +35,13 @@ (org-mode): Use `org-outline-level' as value of `outline-level'. (org-cycle): Temporarily switch `outline-regexp' if `org-cycle-include-plain-lists' is non-nil. - (org-start-icalendar-file): Fixed format bug. + (org-start-icalendar-file): Fix format bug. (org-agenda-get-day-entries): Create category table. (org-agenda-get-todos, org-agenda-get-timestamps) (org-agenda-get-deadlines, org-agenda-get-scheduled) (org-agenda-get-blocks): Use `org-get-category'. - (org-context-in-file-links): Renamed from + (org-context-in-file-links): Rename from `org-line-numbers-in-file-links' . - 2005-12-06 Romain Francoise <romain@orebokech.com>
--- a/lisp/progmodes/cc-defs.el Tue Dec 06 15:53:58 2005 +0000 +++ b/lisp/progmodes/cc-defs.el Tue Dec 06 16:54:20 2005 +0000 @@ -1400,11 +1400,11 @@ (modify-syntax-entry ?< ".") (modify-syntax-entry ?> ".") (insert "<()>") - (c-mark-<-as-paren 1) - (c-mark->-as-paren 4) - (goto-char 1) + (c-mark-<-as-paren (point-min)) + (c-mark->-as-paren (+ 3 (point-min))) + (goto-char (point-min)) (c-forward-sexp) - (if (= (point) 5) + (if (= (point) (+ 4 (point-min))) (setq list (cons 'syntax-properties list)) (error (concat "CC Mode is incompatible with this version of Emacs - " @@ -2036,5 +2036,5 @@ (cc-provide 'cc-defs) -;;; arch-tag: 3bb2629d-dd84-4ff0-ad39-584be0fe3cda +;; arch-tag: 3bb2629d-dd84-4ff0-ad39-584be0fe3cda ;;; cc-defs.el ends here