+2000-12-19 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * poe.el (current-fill-column): New emulating function.
+ (current-left-margin): New emulating function.
+
+ * poe-18.el (numberp): Use `defalias-maybe' instead of `defalias'.
+ (mod): Ditto.
+
2000-12-20 NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>
* poe-18.el (set-frame-height): Typo fixed.
;;; @@ Floating point numbers.
;;;
-(defalias 'numberp 'integerp)
+(defalias-maybe 'numberp 'integerp)
(defun abs (arg)
"Return the absolute value of ARG."
(- (/ (- divisor 1 arg) divisor))
(/ arg divisor)))
-(defalias 'mod '%)
+(defalias-maybe 'mod '%)
;;; @ Basic lisp subroutines.
;;;
(defun buffer-disable-undo (&optional buffer)
"Make BUFFER stop keeping undo information.
No argument or nil as argument means do this for the current buffer."
- (buffer-flush-undo (or buffer (current-buffer))))
+ (buffer-flush-undo (or buffer (current-buffer))))
;;; @@ Frame (Emacs 18 cannot make frame)
filename))))
\f
+;;; @ Miscellanea.
+
+;; Emacs 19.29 and later: (current-fill-column)
+(defun-maybe current-fill-column ()
+ "Return the fill-column to use for this line."
+ fill-column)
+
+;; Emacs 19.29 and later: (current-left-margin)
+(defun-maybe current-left-margin ()
+ "Return the left margin to use for this line."
+ left-margin)
+\f
+
;;; @ XEmacs emulation.
;;;