]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-emacs-features): Don't assume point-min==1.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 Dec 2005 16:54:20 +0000 (16:54 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 Dec 2005 16:54:20 +0000 (16:54 +0000)
lisp/ChangeLog
lisp/progmodes/cc-defs.el

index 4bae7d698fedeb2e6f6a291e6dde43559cc80435..6ce163d15d1c2420062da84d44f03782cce224ef 100644 (file)
@@ -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.
        (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>
 
index b68e167ffa01d4ee52272bbcd747368eea492cef..1bb76c170dc5aa0f1bf9980529378af266304c4d 100644 (file)
@@ -1400,11 +1400,11 @@ non-nil, a caret is prepended to invert the set."
        (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 @@ quoted."
 \f
 (cc-provide 'cc-defs)
 
-;;; arch-tag: 3bb2629d-dd84-4ff0-ad39-584be0fe3cda
+;; arch-tag: 3bb2629d-dd84-4ff0-ad39-584be0fe3cda
 ;;; cc-defs.el ends here