(left-fringe-p): New function.
authorNick Roberts <nickrob@snap.net.nz>
Sun, 15 May 2005 23:57:15 +0000 (23:57 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sun, 15 May 2005 23:57:15 +0000 (23:57 +0000)
lisp/subr.el

index 8d6c3d6..8eda9e5 100644 (file)
@@ -2294,6 +2294,9 @@ configuration."
   (and (consp object)
        (eq (car object) 'frame-configuration)))
 
+(defsubst left-fringe-p ()
+  (equal (car (window-fringes)) 0))
+
 (defun functionp (object)
   "Non-nil if OBJECT is any kind of function or a special form.
 Also non-nil if OBJECT is a symbol and its function definition is