emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/obsolete/hilit19.el


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/obsolete/hilit19.el
Date: Mon, 09 May 2005 04:45:47 -0400

Index: emacs/lisp/obsolete/hilit19.el
diff -c emacs/lisp/obsolete/hilit19.el:1.9 emacs/lisp/obsolete/hilit19.el:1.10
*** emacs/lisp/obsolete/hilit19.el:1.9  Wed Oct 27 19:52:02 2004
--- emacs/lisp/obsolete/hilit19.el      Mon May  9 08:45:47 2005
***************
*** 1050,1056 ****
  
    (and (equal pstart "") (error "Must specify starting regex"))
    (cond ((equal pend "") (setq pend 0))
!       ((string-match "^[0-9]+$" pend) (setq pend (string-to-int pend))))
    (or mode (setq mode major-mode))
    (let ((old-patterns (cdr (assq mode hilit-patterns-alist)))
        (new-pat (list pstart pend face)))
--- 1050,1056 ----
  
    (and (equal pstart "") (error "Must specify starting regex"))
    (cond ((equal pend "") (setq pend 0))
!       ((string-match "^[0-9]+$" pend) (setq pend (string-to-number pend))))
    (or mode (setq mode major-mode))
    (let ((old-patterns (cdr (assq mode hilit-patterns-alist)))
        (new-pat (list pstart pend face)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]